@@ -30,11 +30,11 @@ |
||
| 30 | 30 | { |
| 31 | 31 | $this->mergeConfigFrom(__DIR__.'/../config/favicon.php', 'favicon'); |
| 32 | 32 | |
| 33 | - $this->app->singleton(Favicon::class, function () { |
|
| 33 | + $this->app->singleton(Favicon::class, function() { |
|
| 34 | 34 | return new Favicon(config('favicon')); |
| 35 | 35 | }); |
| 36 | 36 | |
| 37 | - $this->app->bind(FaviconGenerator::class, function () { |
|
| 37 | + $this->app->bind(FaviconGenerator::class, function() { |
|
| 38 | 38 | return app(config('favicon.generator')); |
| 39 | 39 | }); |
| 40 | 40 | } |
@@ -2,7 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | use BeyondCode\LaravelFavicon\Generators\FaviconGenerator; |
| 4 | 4 | |
| 5 | -if (! function_exists('favicon')) { |
|
| 5 | +if (!function_exists('favicon')) { |
|
| 6 | 6 | function favicon($image) |
| 7 | 7 | { |
| 8 | 8 | if (app(FaviconGenerator::class)->shouldGenerateFavicon(app()->environment())) { |