Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
tabacitu authored and StyleCIBot committed Dec 16, 2024
1 parent de0bada commit a615cff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Helpers/FileOutput.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ public function write(CacheEntry $asset): void
$file = match ($extension) {
'jpg', 'jpeg', 'png', 'webp', 'gif', 'svg' => 'img',
'mp3', 'ogg', 'wav', 'mp4', 'webm', 'avi' => 'source',
'pdf' => 'object',
'vtt' => 'track',
'pdf' => 'object',
'vtt' => 'track',
default => $extension
};

Expand All @@ -57,7 +57,7 @@ public function write(CacheEntry $asset): void
}

echo Blade::render($template, [
'src' => $this->assetPath($filePath),
'src' => $this->assetPath($filePath),
'args' => $this->prepareAttributes($asset->getAttributes()),
]);
}
Expand Down

0 comments on commit a615cff

Please sign in to comment.