@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | * |
43 | 43 | * @param Container $app |
44 | 44 | * @param $name |
45 | - * @param $path |
|
45 | + * @param string $path |
|
46 | 46 | */ |
47 | 47 | public function __construct(Container $app, $name, $path) |
48 | 48 | { |
@@ -227,7 +227,7 @@ discard block |
||
227 | 227 | /** |
228 | 228 | * Get a specific data from composer.json file by given the key. |
229 | 229 | * |
230 | - * @param $key |
|
230 | + * @param string $key |
|
231 | 231 | * @param null $default |
232 | 232 | * |
233 | 233 | * @return mixed |
@@ -300,7 +300,7 @@ discard block |
||
300 | 300 | /** |
301 | 301 | * Determine whether the given status same with the current module status. |
302 | 302 | * |
303 | - * @param $status |
|
303 | + * @param integer $status |
|
304 | 304 | * |
305 | 305 | * @return bool |
306 | 306 | */ |
@@ -354,9 +354,9 @@ discard block |
||
354 | 354 | /** |
355 | 355 | * Set active state for current module. |
356 | 356 | * |
357 | - * @param $active |
|
357 | + * @param integer $active |
|
358 | 358 | * |
359 | - * @return bool |
|
359 | + * @return integer |
|
360 | 360 | */ |
361 | 361 | public function setActive($active) |
362 | 362 | { |
@@ -377,7 +377,7 @@ discard block |
||
377 | 377 | /** |
378 | 378 | * Get module path for a specific module. |
379 | 379 | * |
380 | - * @param $module |
|
380 | + * @param string $module |
|
381 | 381 | * |
382 | 382 | * @return string |
383 | 383 | */ |
@@ -405,7 +405,7 @@ discard block |
||
405 | 405 | /** |
406 | 406 | * Get a specific config data from a configuration file. |
407 | 407 | * |
408 | - * @param $key |
|
408 | + * @param string $key |
|
409 | 409 | * |
410 | 410 | * @param null $default |
411 | 411 | * @return mixed |
@@ -607,7 +607,7 @@ discard block |
||
607 | 607 | /** |
608 | 608 | * Get stub path. |
609 | 609 | * |
610 | - * @return string|null |
|
610 | + * @return string|boolean |
|
611 | 611 | */ |
612 | 612 | public function getStubPath() |
613 | 613 | { |