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
Pull Request — master (#16)
by Raed
02:23
created
src/Console/Commands/ShortenCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      */
30 30
     public function handle()
31 31
     {
32
-        $driver = $this->laravel['url.shortener']->driver($this->input->getOption('driver'));
32
+        $driver = $this->laravel[ 'url.shortener' ]->driver($this->input->getOption('driver'));
33 33
 
34 34
         $shortUrl = $driver->shorten($this->input->getArgument('url'));
35 35
 
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     protected function getArguments()
44 44
     {
45 45
         return [
46
-            ['url', InputArgument::REQUIRED, 'The URL to shorten'],
46
+            [ 'url', InputArgument::REQUIRED, 'The URL to shorten' ],
47 47
         ];
48 48
     }
49 49
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     protected function getOptions()
54 54
     {
55 55
         return [
56
-            ['driver', 'D', InputOption::VALUE_REQUIRED, 'The driver to use for shortening the given URL'],
56
+            [ 'driver', 'D', InputOption::VALUE_REQUIRED, 'The driver to use for shortening the given URL' ],
57 57
         ];
58 58
     }
59 59
 }
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
 
@@ -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.