GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Pull Request — master (#16)
by Raed
19:02
created
src/UrlShortenerServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.