Completed
Pull Request — master (#781)
by Nicolas
11:14 queued 08:30
created
src/Module.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
     /**
232 232
      * Get a specific data from composer.json file by given the key.
233 233
      *
234
-     * @param $key
234
+     * @param string $key
235 235
      * @param null $default
236 236
      *
237 237
      * @return mixed
@@ -306,7 +306,7 @@  discard block
 block discarded – undo
306 306
     /**
307 307
      * Determine whether the given status same with the current module status.
308 308
      *
309
-     * @param $status
309
+     * @param integer $status
310 310
      *
311 311
      * @return bool
312 312
      */
@@ -338,7 +338,7 @@  discard block
 block discarded – undo
338 338
     /**
339 339
      * Set active state for current module.
340 340
      *
341
-     * @param $active
341
+     * @param integer $active
342 342
      *
343 343
      * @return bool
344 344
      */
Please login to merge, or discard this patch.
src/FileRepository.php 1 patch
Doc Comments   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -126,9 +126,7 @@  discard block
 block discarded – undo
126 126
     /**
127 127
      * Creates a new Module instance
128 128
      *
129
-     * @param Container $app
130
-     * @param string $args
131
-     * @param string $path
129
+     * @param string[] $args
132 130
      * @return \Nwidart\Modules\Module
133 131
      */
134 132
     abstract protected function createModule(...$args);
@@ -448,7 +446,7 @@  discard block
 block discarded – undo
448 446
     /**
449 447
      * Get a specific config data from a configuration file.
450 448
      *
451
-     * @param $key
449
+     * @param string $key
452 450
      *
453 451
      * @param null $default
454 452
      * @return mixed
@@ -637,7 +635,7 @@  discard block
 block discarded – undo
637 635
     /**
638 636
      * Get stub path.
639 637
      *
640
-     * @return string|null
638
+     * @return string|boolean
641 639
      */
642 640
     public function getStubPath()
643 641
     {
Please login to merge, or discard this patch.