@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | $this->app->alias('url.shortener', UrlShortenerManager::class); |
| 49 | 49 | $this->app->bindIf(ClientInterface::class, Client::class); |
| 50 | 50 | |
| 51 | - $this->app->singleton('url.shortener', function ($app) { |
|
| 51 | + $this->app->singleton('url.shortener', function($app) { |
|
| 52 | 52 | return new UrlShortenerManager($app); |
| 53 | 53 | }); |
| 54 | 54 | |
@@ -66,15 +66,15 @@ discard block |
||
| 66 | 66 | return; |
| 67 | 67 | } |
| 68 | 68 | |
| 69 | - UrlGenerator::macro('shorten', function (...$parameters) { |
|
| 69 | + UrlGenerator::macro('shorten', function(...$parameters) { |
|
| 70 | 70 | return app('url.shortener')->shorten(...$parameters); |
| 71 | 71 | }); |
| 72 | 72 | |
| 73 | - UrlGenerator::macro('shortenAsync', function (...$parameters) { |
|
| 73 | + UrlGenerator::macro('shortenAsync', function(...$parameters) { |
|
| 74 | 74 | return app('url.shortener')->shortenAsync(...$parameters); |
| 75 | 75 | }); |
| 76 | 76 | |
| 77 | - UrlGenerator::macro('shortener', function () { |
|
| 77 | + UrlGenerator::macro('shortener', function() { |
|
| 78 | 78 | return app('url.shortener'); |
| 79 | 79 | }); |
| 80 | 80 | } |