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