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.
Passed
Push — master ( 572e24...2d9704 )
by Choraimy
07:54
created
src/UrlShortenerManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
         # We overwrite this function with the Laravel 5.8 variant
42 42
         # because it isn't backwards compatible across supported versions
43 43
 
44
-        if (isset($this->customCreators[$driver])) {
44
+        if (isset($this->customCreators[ $driver ])) {
45 45
             return $this->callCustomCreator($driver);
46 46
         } else {
47 47
             $method = 'create' . Str::studly($driver) . 'Driver';
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      */
84 84
     public function getDefaultDriver()
85 85
     {
86
-        return $this->app['config']['url-shortener.default'];
86
+        return $this->app[ 'config' ][ 'url-shortener.default' ];
87 87
     }
88 88
 
89 89
     /**
@@ -94,6 +94,6 @@  discard block
 block discarded – undo
94 94
      */
95 95
     protected function getDriverConfig(string $name)
96 96
     {
97
-        return $this->app['config']["url-shortener.drivers.$name"] ?: [];
97
+        return $this->app[ 'config' ][ "url-shortener.drivers.$name" ] ?: [ ];
98 98
     }
99 99
 }
Please login to merge, or discard this patch.
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
     }
@@ -64,15 +64,15 @@  discard block
 block discarded – undo
64 64
             return;
65 65
         }
66 66
 
67
-        UrlGenerator::macro('shorten', function (...$parameters) {
67
+        UrlGenerator::macro('shorten', function(...$parameters) {
68 68
             return app('url.shortener')->shorten(...$parameters);
69 69
         });
70 70
 
71
-        UrlGenerator::macro('shortenAsync', function (...$parameters) {
71
+        UrlGenerator::macro('shortenAsync', function(...$parameters) {
72 72
             return app('url.shortener')->shortenAsync(...$parameters);
73 73
         });
74 74
 
75
-        UrlGenerator::macro('shortener', function () {
75
+        UrlGenerator::macro('shortener', function() {
76 76
             return app('url.shortener');
77 77
         });
78 78
     }
Please login to merge, or discard this patch.