We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2baa5be commit 131f1b8Copy full SHA for 131f1b8
src/Assets.php
@@ -63,7 +63,7 @@ public function __construct($config = null)
63
public function display(string $extension)
64
{
65
if (! in_array($extension, ['css', 'js']))
66
- return false;
+ throw AssetsException::forUnsupportedExtension($extension);
67
68
// buffer all matched files as tags
69
$buffer = "<!-- Local ".strtoupper($extension)." files -->".PHP_EOL;
0 commit comments