Completed
Pull Request — master (#357)
by
unknown
02:19
created
src/Publishing/Publisher.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
     /**
89 89
      * Get module instance.
90 90
      *
91
-     * @return \Nwidart\Modules\Module
91
+     * @return string
92 92
      */
93 93
     public function getModule()
94 94
     {
Please login to merge, or discard this patch.
src/Commands/SeedCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
     }
66 66
 
67 67
     /**
68
-     * @param $name
68
+     * @param string $name
69 69
      *
70 70
      * @throws RuntimeException
71 71
      *
Please login to merge, or discard this patch.
src/Commands/SeedMakeCommand.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     }
60 60
 
61 61
     /**
62
-     * @return mixed
62
+     * @return string
63 63
      */
64 64
     protected function getTemplateContents()
65 65
     {
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     }
74 74
 
75 75
     /**
76
-     * @return mixed
76
+     * @return string
77 77
      */
78 78
     protected function getDestinationFilePath()
79 79
     {
Please login to merge, or discard this patch.
src/Repository.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
     /**
93 93
      * Get scanned modules paths.
94 94
      *
95
-     * @return array
95
+     * @return string[]
96 96
      */
97 97
     public function getScanPaths()
98 98
     {
@@ -402,7 +402,7 @@  discard block
 block discarded – undo
402 402
     /**
403 403
      * Get module path for a specific module.
404 404
      *
405
-     * @param $module
405
+     * @param string $module
406 406
      *
407 407
      * @return string
408 408
      */
@@ -430,7 +430,7 @@  discard block
 block discarded – undo
430 430
     /**
431 431
      * Get a specific config data from a configuration file.
432 432
      *
433
-     * @param $key
433
+     * @param string $key
434 434
      *
435 435
      * @param null $default
436 436
      * @return mixed
@@ -471,7 +471,7 @@  discard block
 block discarded – undo
471 471
     /**
472 472
      * Get module used for cli session.
473 473
      *
474
-     * @return string
474
+     * @return Module
475 475
      */
476 476
     public function getUsedNow()
477 477
     {
@@ -481,7 +481,7 @@  discard block
 block discarded – undo
481 481
     /**
482 482
      * Get used now.
483 483
      *
484
-     * @return string
484
+     * @return Module
485 485
      */
486 486
     public function getUsed()
487 487
     {
@@ -555,7 +555,7 @@  discard block
 block discarded – undo
555 555
      *
556 556
      * @param string $name
557 557
      *
558
-     * @return bool
558
+     * @return boolean|null
559 559
      */
560 560
     public function enable($name)
561 561
     {
@@ -567,7 +567,7 @@  discard block
 block discarded – undo
567 567
      *
568 568
      * @param string $name
569 569
      *
570
-     * @return bool
570
+     * @return boolean|null
571 571
      */
572 572
     public function disable($name)
573 573
     {
Please login to merge, or discard this patch.
src/Support/Migrations/NameParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
     /**
91 91
      * Get matches data from regex.
92 92
      *
93
-     * @return array
93
+     * @return string[]
94 94
      */
95 95
     public function getMatches()
96 96
     {
Please login to merge, or discard this patch.
src/Migrations/Migrator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -242,7 +242,7 @@
 block discarded – undo
242 242
      *
243 243
      * @param string $migration
244 244
      *
245
-     * @return mixed
245
+     * @return boolean
246 246
      */
247 247
     public function log($migration)
248 248
     {
Please login to merge, or discard this patch.
src/Module.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      *
45 45
      * @param Container $app
46 46
      * @param $name
47
-     * @param $path
47
+     * @param string $path
48 48
      */
49 49
     public function __construct(Container $app, $name, $path)
50 50
     {
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
     /**
189 189
      * Get json contents from the cache, setting as needed.
190 190
      *
191
-     * @param $file
191
+     * @param string $file
192 192
      *
193 193
      * @return Json
194 194
      */
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
     /**
220 220
      * Get a specific data from composer.json file by given the key.
221 221
      *
222
-     * @param $key
222
+     * @param string $key
223 223
      * @param null $default
224 224
      *
225 225
      * @return mixed
@@ -297,7 +297,7 @@  discard block
 block discarded – undo
297 297
     /**
298 298
      * Determine whether the given status same with the current module status.
299 299
      *
300
-     * @param $status
300
+     * @param integer $status
301 301
      *
302 302
      * @return bool
303 303
      */
@@ -349,9 +349,9 @@  discard block
 block discarded – undo
349 349
     /**
350 350
      * Set active state for current module.
351 351
      *
352
-     * @param $active
352
+     * @param integer $active
353 353
      *
354
-     * @return bool
354
+     * @return integer
355 355
      */
356 356
     public function setActive($active)
357 357
     {
Please login to merge, or discard this patch.
src/Commands/CommandMakeCommand.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     }
60 60
 
61 61
     /**
62
-     * @return mixed
62
+     * @return string
63 63
      */
64 64
     protected function getTemplateContents()
65 65
     {
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     }
74 74
 
75 75
     /**
76
-     * @return mixed
76
+     * @return string
77 77
      */
78 78
     protected function getDestinationFilePath()
79 79
     {
Please login to merge, or discard this patch.
src/Commands/FactoryMakeCommand.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     }
60 60
 
61 61
     /**
62
-     * @return mixed
62
+     * @return string
63 63
      */
64 64
     protected function getTemplateContents()
65 65
     {
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     }
74 74
 
75 75
     /**
76
-     * @return mixed
76
+     * @return string
77 77
      */
78 78
     protected function getDestinationFilePath()
79 79
     {
Please login to merge, or discard this patch.