Completed
Push — master ( 8844c6...a7acd5 )
by Nicolas
05:21
created
src/Process/Installer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
         $process->setTimeout($this->timeout);
136 136
 
137 137
         if ($this->console instanceof Command) {
138
-            $process->run(function ($type, $line) {
138
+            $process->run(function($type, $line) {
139 139
                 $this->console->line($line);
140 140
             });
141 141
         }
Please login to merge, or discard this patch.
src/Json.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
             return json_decode($this->getContents(), 1);
123 123
         }
124 124
 
125
-        return app('cache')->remember($this->getPath(), config('modules.cache.lifetime'), function () {
125
+        return app('cache')->remember($this->getPath(), config('modules.cache.lifetime'), function() {
126 126
             return json_decode($this->getContents(), 1);
127 127
         });
128 128
     }
Please login to merge, or discard this patch.
src/Commands/CommandCommand.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     }
58 58
 
59 59
     /**
60
-     * @return mixed
60
+     * @return string
61 61
      */
62 62
     protected function getTemplateContents()
63 63
     {
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     }
71 71
 
72 72
     /**
73
-     * @return mixed
73
+     * @return string
74 74
      */
75 75
     protected function getDestinationFilePath()
76 76
     {
Please login to merge, or discard this patch.
src/Commands/GenerateProviderCommand.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     }
58 58
 
59 59
     /**
60
-     * @return mixed
60
+     * @return string
61 61
      */
62 62
     protected function getTemplateContents()
63 63
     {
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     }
71 71
 
72 72
     /**
73
-     * @return mixed
73
+     * @return string
74 74
      */
75 75
     protected function getDestinationFilePath()
76 76
     {
Please login to merge, or discard this patch.
src/Commands/MakeRequestCommand.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     }
58 58
 
59 59
     /**
60
-     * @return mixed
60
+     * @return string
61 61
      */
62 62
     protected function getTemplateContents()
63 63
     {
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     }
71 71
 
72 72
     /**
73
-     * @return mixed
73
+     * @return string
74 74
      */
75 75
     protected function getDestinationFilePath()
76 76
     {
Please login to merge, or discard this patch.
src/Repository.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
      */
176 176
     public function getCached()
177 177
     {
178
-        return $this->app['cache']->remember($this->config('cache.key'), $this->config('cache.lifetime'), function () {
178
+        return $this->app['cache']->remember($this->config('cache.key'), $this->config('cache.lifetime'), function() {
179 179
             return $this->toCollection()->toArray();
180 180
         });
181 181
     }
@@ -263,7 +263,7 @@  discard block
 block discarded – undo
263 263
     {
264 264
         $modules = $this->enabled();
265 265
 
266
-        uasort($modules, function (Module $a, Module $b) use ($direction) {
266
+        uasort($modules, function(Module $a, Module $b) use ($direction) {
267 267
             if ($a->order == $b->order) {
268 268
                 return 0;
269 269
             }
Please login to merge, or discard this patch.
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     /**
90 90
      * Get scanned modules paths.
91 91
      *
92
-     * @return array
92
+     * @return string[]
93 93
      */
94 94
     public function getScanPaths()
95 95
     {
@@ -367,7 +367,7 @@  discard block
 block discarded – undo
367 367
     /**
368 368
      * Get module path for a specific module.
369 369
      *
370
-     * @param $module
370
+     * @param string $module
371 371
      *
372 372
      * @return string
373 373
      */
@@ -395,7 +395,7 @@  discard block
 block discarded – undo
395 395
     /**
396 396
      * Get a specific config data from a configuration file.
397 397
      *
398
-     * @param $key
398
+     * @param string $key
399 399
      *
400 400
      * @return mixed
401 401
      */
@@ -435,7 +435,7 @@  discard block
 block discarded – undo
435 435
     /**
436 436
      * Get module used for cli session.
437 437
      *
438
-     * @return string
438
+     * @return Module
439 439
      */
440 440
     public function getUsedNow()
441 441
     {
@@ -445,7 +445,7 @@  discard block
 block discarded – undo
445 445
     /**
446 446
      * Get used now.
447 447
      *
448
-     * @return string
448
+     * @return Module
449 449
      */
450 450
     public function getUsed()
451 451
     {
@@ -519,7 +519,7 @@  discard block
 block discarded – undo
519 519
      *
520 520
      * @param string $name
521 521
      *
522
-     * @return bool
522
+     * @return boolean|null
523 523
      */
524 524
     public function enable($name)
525 525
     {
@@ -531,7 +531,7 @@  discard block
 block discarded – undo
531 531
      *
532 532
      * @param string $name
533 533
      *
534
-     * @return bool
534
+     * @return boolean|null
535 535
      */
536 536
     public function disable($name)
537 537
     {
Please login to merge, or discard this patch.
src/Commands/GenerateMiddlewareCommand.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     }
58 58
 
59 59
     /**
60
-     * @return mixed
60
+     * @return string
61 61
      */
62 62
     protected function getTemplateContents()
63 63
     {
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     }
71 71
 
72 72
     /**
73
-     * @return mixed
73
+     * @return string
74 74
      */
75 75
     protected function getDestinationFilePath()
76 76
     {
Please login to merge, or discard this patch.