@@ -231,7 +231,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | */ |
@@ -126,9 +126,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | { |