Completed
Pull Request — master (#275)
by
unknown
04:27 queued 16s
created
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/Repository.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
     /**
94 94
      * Get scanned modules paths.
95 95
      *
96
-     * @return array
96
+     * @return string[]
97 97
      */
98 98
     public function getScanPaths()
99 99
     {
@@ -413,7 +413,7 @@  discard block
 block discarded – undo
413 413
     /**
414 414
      * Get module path for a specific module.
415 415
      *
416
-     * @param $module
416
+     * @param string $module
417 417
      *
418 418
      * @return string
419 419
      */
@@ -441,7 +441,7 @@  discard block
 block discarded – undo
441 441
     /**
442 442
      * Get a specific config data from a configuration file.
443 443
      *
444
-     * @param $key
444
+     * @param string $key
445 445
      * @param null $default
446 446
      *
447 447
      * @return mixed
@@ -488,7 +488,7 @@  discard block
 block discarded – undo
488 488
     /**
489 489
      * Get module used for cli session.
490 490
      *
491
-     * @return string
491
+     * @return Module
492 492
      */
493 493
     public function getUsedNow()
494 494
     {
@@ -498,7 +498,7 @@  discard block
 block discarded – undo
498 498
     /**
499 499
      * Get used now.
500 500
      *
501
-     * @return string
501
+     * @return Module
502 502
      */
503 503
     public function getUsed()
504 504
     {
@@ -575,7 +575,7 @@  discard block
 block discarded – undo
575 575
      *
576 576
      * @param string $name
577 577
      *
578
-     * @return bool
578
+     * @return boolean|null
579 579
      */
580 580
     public function enable($name)
581 581
     {
@@ -587,7 +587,7 @@  discard block
 block discarded – undo
587 587
      *
588 588
      * @param string $name
589 589
      *
590
-     * @return bool
590
+     * @return boolean|null
591 591
      */
592 592
     public function disable($name)
593 593
     {
Please login to merge, or discard this patch.