@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | } |
58 | 58 | |
59 | 59 | /** |
60 | - * @return mixed |
|
60 | + * @return string |
|
61 | 61 | */ |
62 | 62 | protected function getTemplateContents() |
63 | 63 | { |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | } |
71 | 71 | |
72 | 72 | /** |
73 | - * @return mixed |
|
73 | + * @return string |
|
74 | 74 | */ |
75 | 75 | protected function getDestinationFilePath() |
76 | 76 | { |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | /** |
90 | 90 | * Get scanned modules paths. |
91 | 91 | * |
92 | - * @return array |
|
92 | + * @return string[] |
|
93 | 93 | */ |
94 | 94 | public function getScanPaths() |
95 | 95 | { |
@@ -367,7 +367,7 @@ discard block |
||
367 | 367 | /** |
368 | 368 | * Get module path for a specific module. |
369 | 369 | * |
370 | - * @param $module |
|
370 | + * @param string $module |
|
371 | 371 | * |
372 | 372 | * @return string |
373 | 373 | */ |
@@ -395,7 +395,7 @@ discard block |
||
395 | 395 | /** |
396 | 396 | * Get a specific config data from a configuration file. |
397 | 397 | * |
398 | - * @param $key |
|
398 | + * @param string $key |
|
399 | 399 | * |
400 | 400 | * @return mixed |
401 | 401 | */ |
@@ -435,7 +435,7 @@ discard block |
||
435 | 435 | /** |
436 | 436 | * Get module used for cli session. |
437 | 437 | * |
438 | - * @return string |
|
438 | + * @return Module |
|
439 | 439 | */ |
440 | 440 | public function getUsedNow() |
441 | 441 | { |
@@ -445,7 +445,7 @@ discard block |
||
445 | 445 | /** |
446 | 446 | * Get used now. |
447 | 447 | * |
448 | - * @return string |
|
448 | + * @return Module |
|
449 | 449 | */ |
450 | 450 | public function getUsed() |
451 | 451 | { |
@@ -519,7 +519,7 @@ discard block |
||
519 | 519 | * |
520 | 520 | * @param string $name |
521 | 521 | * |
522 | - * @return bool |
|
522 | + * @return boolean|null |
|
523 | 523 | */ |
524 | 524 | public function enable($name) |
525 | 525 | { |
@@ -531,7 +531,7 @@ discard block |
||
531 | 531 | * |
532 | 532 | * @param string $name |
533 | 533 | * |
534 | - * @return bool |
|
534 | + * @return boolean|null |
|
535 | 535 | */ |
536 | 536 | public function disable($name) |
537 | 537 | { |
@@ -335,7 +335,7 @@ |
||
335 | 335 | * |
336 | 336 | * @param $stub |
337 | 337 | * |
338 | - * @return Stub |
|
338 | + * @return string |
|
339 | 339 | */ |
340 | 340 | protected function getStubContents($stub) |
341 | 341 | { |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | * |
36 | 36 | * @param Application $app |
37 | 37 | * @param $name |
38 | - * @param $path |
|
38 | + * @param string $path |
|
39 | 39 | */ |
40 | 40 | public function __construct(Application $app, $name, $path) |
41 | 41 | { |
@@ -169,6 +169,7 @@ discard block |
||
169 | 169 | /** |
170 | 170 | * Get json contents. |
171 | 171 | * |
172 | + * @param string $file |
|
172 | 173 | * @return Json |
173 | 174 | */ |
174 | 175 | public function json($file = null) |
@@ -196,7 +197,7 @@ discard block |
||
196 | 197 | /** |
197 | 198 | * Get a specific data from composer.json file by given the key. |
198 | 199 | * |
199 | - * @param $key |
|
200 | + * @param string $key |
|
200 | 201 | * @param null $default |
201 | 202 | * |
202 | 203 | * @return mixed |
@@ -274,7 +275,7 @@ discard block |
||
274 | 275 | /** |
275 | 276 | * Determine whether the given status same with the current module status. |
276 | 277 | * |
277 | - * @param $status |
|
278 | + * @param integer $status |
|
278 | 279 | * |
279 | 280 | * @return bool |
280 | 281 | */ |
@@ -326,9 +327,9 @@ discard block |
||
326 | 327 | /** |
327 | 328 | * Set active state for current module. |
328 | 329 | * |
329 | - * @param $active |
|
330 | + * @param integer $active |
|
330 | 331 | * |
331 | - * @return bool |
|
332 | + * @return integer |
|
332 | 333 | */ |
333 | 334 | public function setActive($active) |
334 | 335 | { |
@@ -338,7 +339,7 @@ discard block |
||
338 | 339 | /** |
339 | 340 | * Disable the current module. |
340 | 341 | * |
341 | - * @return bool |
|
342 | + * @return boolean|null |
|
342 | 343 | */ |
343 | 344 | public function disable() |
344 | 345 | { |