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 (#688)
by
unknown
18:52
created
src/Display/DisplayTab.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,15 +75,15 @@
 block discarded – undo
75 75
     {
76 76
         $this->content = $content;
77 77
 
78
-        if (! is_null($label)) {
78
+        if (!is_null($label)) {
79 79
             $this->setLabel($label);
80 80
         }
81 81
 
82
-        if (! is_null($icon)) {
82
+        if (!is_null($icon)) {
83 83
             $this->setIcon($icon);
84 84
         }
85 85
 
86
-        if (! is_null($badge)) {
86
+        if (!is_null($badge)) {
87 87
             $this->setBadge($badge);
88 88
         }
89 89
 
Please login to merge, or discard this patch.
src/Templates/Breadcrumbs.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
             $name = $params[0];
36 36
         }
37 37
 
38
-        if (! $this->exists($name)) {
38
+        if (!$this->exists($name)) {
39 39
             return '';
40 40
         }
41 41
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      */
62 62
     public function renderIfExistsArray($name, $params = [])
63 63
     {
64
-        if (! $this->exists($name)) {
64
+        if (!$this->exists($name)) {
65 65
             return '';
66 66
         }
67 67
 
Please login to merge, or discard this patch.
src/Console/Generator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@  discard block
 block discarded – undo
24 24
     {
25 25
         $aliases = $this->getValidAliases();
26 26
 
27
-        $aliases = $aliases->filter(function (Alias $item) {
28
-            return ! collect([
27
+        $aliases = $aliases->filter(function(Alias $item) {
28
+            return !collect([
29 29
                 'MessageStack',
30 30
                 'AdminSection',
31 31
                 'AdminTemplate',
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
             ])->search($item->getAlias());
41 41
         });
42 42
 
43
-        return $aliases->groupBy(function (Alias $alias) {
43
+        return $aliases->groupBy(function(Alias $alias) {
44 44
             return $alias->getExtendsNamespace();
45 45
         });
46 46
     }
Please login to merge, or discard this patch.
src/Console/Commands/InstallCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -31,11 +31,11 @@
 block discarded – undo
31 31
             Installation\CreateRoutesFile::class,
32 32
             Installation\CreateSectionServiceProvider::class,
33 33
             Installation\CreatePublicDirectory::class,
34
-        ])->map(function ($installer) {
34
+        ])->map(function($installer) {
35 35
             return new $installer($this, $this->config);
36
-        })->filter(function (Installator $installer) {
37
-            return $this->option('force') ? true : ! $installer->installed();
38
-        })->each(function (Installator $installer) {
36
+        })->filter(function(Installator $installer) {
37
+            return $this->option('force') ? true : !$installer->installed();
38
+        })->each(function(Installator $installer) {
39 39
             $installer->install();
40 40
             $installer->showInfo();
41 41
         });
Please login to merge, or discard this patch.
src/Providers/SleepingOwlServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     private function createLocalViewFactory()
52 52
     {
53 53
         $resolver = new EngineResolver();
54
-        $resolver->register('php', function () {
54
+        $resolver->register('php', function() {
55 55
             return new PhpEngine();
56 56
         });
57 57
         $finder = new FileViewFinder($this->app['files'], [__DIR__.'/../../resources/views']);
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
             $localViewFactory = $this->createLocalViewFactory();
77 77
             $this->app->singleton(
78 78
                 'command.sleepingowl.ide.generate',
79
-                function ($app) use ($localViewFactory) {
79
+                function($app) use ($localViewFactory) {
80 80
                     return new \SleepingOwl\Admin\Console\Commands\GeneratorCommand($app['config'], $app['files'], $localViewFactory);
81 81
                 }
82 82
             );
Please login to merge, or discard this patch.
src/Providers/BreadcrumbsServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      */
22 22
     public function register()
23 23
     {
24
-        $this->app->singleton('sleeping_owl.breadcrumbs', function () {
24
+        $this->app->singleton('sleeping_owl.breadcrumbs', function() {
25 25
             return $this->app->make(Breadcrumbs::class);
26 26
         });
27 27
     }
Please login to merge, or discard this patch.
src/Model/ModelConfigurationManager.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
 
116 116
         $this->repository = $app->make(RepositoryInterface::class);
117 117
         $this->repository->setClass($class);
118
-        if (! $this->alias) {
118
+        if (!$this->alias) {
119 119
             $this->setDefaultAlias();
120 120
         }
121 121
     }
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
      */
305 305
     public function can($action, Model $model)
306 306
     {
307
-        if (! $this->checkAccess) {
307
+        if (!$this->checkAccess) {
308 308
             return true;
309 309
         }
310 310
 
@@ -336,7 +336,7 @@  discard block
 block discarded – undo
336 336
      */
337 337
     public function hasCustomControllerClass()
338 338
     {
339
-        return ! is_null($controller = $this->getControllerClass()) && class_exists($controller);
339
+        return !is_null($controller = $this->getControllerClass()) && class_exists($controller);
340 340
     }
341 341
 
342 342
     /**
@@ -515,7 +515,7 @@  discard block
 block discarded – undo
515 515
         $page->setPriority($priority);
516 516
 
517 517
         if ($badge) {
518
-            if (! ($badge instanceof BadgeInterface)) {
518
+            if (!($badge instanceof BadgeInterface)) {
519 519
                 $badge = new Badge($badge);
520 520
             }
521 521
 
@@ -556,7 +556,7 @@  discard block
 block discarded – undo
556 556
      */
557 557
     public function fireEvent($event, $halt = true, Model $model = null, ...$payload)
558 558
     {
559
-        if (! isset(self::$dispatcher)) {
559
+        if (!isset(self::$dispatcher)) {
560 560
             return true;
561 561
         }
562 562
 
Please login to merge, or discard this patch.