@@ -53,7 +53,7 @@ |
||
| 53 | 53 | '/(\burl\s*\(\s*")([^"]+?)("\s*\))/', |
| 54 | 54 | '/(\burl\s*\(\s*\')([^\']+?)(\'\s*\))/', |
| 55 | 55 | '/(\burl\s*\(\s*)([^\'"]+?)(\s*\))/', |
| 56 | - ], function ($matches) use ($assets, $prefix) { |
|
| 56 | + ], function($matches) use ($assets, $prefix) { |
|
| 57 | 57 | if ($assets->isAbsoluteUrl($matches[2])) { |
| 58 | 58 | return $matches[0]; |
| 59 | 59 | } else { |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | $this->mergeConfigFrom(__DIR__ . '/../config/assets.php', 'assets'); |
| 50 | 50 | |
| 51 | 51 | // Bind our component into the IoC container. |
| 52 | - $this->app->singleton('assets', function ($app) { |
|
| 52 | + $this->app->singleton('assets', function($app) { |
|
| 53 | 53 | $config = [ |
| 54 | 54 | 'visibility' => AdapterInterface::VISIBILITY_PUBLIC, |
| 55 | 55 | ]; |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | |
| 62 | 62 | // Command-line functions |
| 63 | 63 | // Don't use array access here - it is hard to mock / unit-test. Use bind() and make() instead. |
| 64 | - $this->app->bind('command.assets.purge', function (Application $app) { |
|
| 64 | + $this->app->bind('command.assets.purge', function(Application $app) { |
|
| 65 | 65 | return new Purge($app->make('assets')); |
| 66 | 66 | }); |
| 67 | 67 | |