@@ -98,7 +98,7 @@ |
||
98 | 98 | /** |
99 | 99 | * Set console command instance. |
100 | 100 | * |
101 | - * @param \Consigliere\Components\Process\Command $console |
|
101 | + * @param \Consigliere\Components\Commands\InstallCommand $console |
|
102 | 102 | * |
103 | 103 | * @return $this |
104 | 104 | */ |
@@ -88,7 +88,7 @@ |
||
88 | 88 | /** |
89 | 89 | * Get component instance. |
90 | 90 | * |
91 | - * @return \Consigliere\Components\Component |
|
91 | + * @return string |
|
92 | 92 | */ |
93 | 93 | public function getComponent() |
94 | 94 | { |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | /** |
90 | 90 | * Get scanned components 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 component path for a specific component. |
369 | 369 | * |
370 | - * @param $component |
|
370 | + * @param string $component |
|
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 | * @param null $default |
401 | 401 | * |
@@ -437,7 +437,7 @@ discard block |
||
437 | 437 | /** |
438 | 438 | * Get component used for cli session. |
439 | 439 | * |
440 | - * @return string |
|
440 | + * @return Component |
|
441 | 441 | */ |
442 | 442 | public function getUsedNow() |
443 | 443 | { |
@@ -447,7 +447,7 @@ discard block |
||
447 | 447 | /** |
448 | 448 | * Get used now. |
449 | 449 | * |
450 | - * @return string |
|
450 | + * @return Component |
|
451 | 451 | */ |
452 | 452 | public function getUsed() |
453 | 453 | { |
@@ -521,7 +521,7 @@ discard block |
||
521 | 521 | * |
522 | 522 | * @param string $name |
523 | 523 | * |
524 | - * @return bool |
|
524 | + * @return boolean|null |
|
525 | 525 | */ |
526 | 526 | public function enable($name) |
527 | 527 | { |
@@ -533,7 +533,7 @@ discard block |
||
533 | 533 | * |
534 | 534 | * @param string $name |
535 | 535 | * |
536 | - * @return bool |
|
536 | + * @return boolean|null |
|
537 | 537 | */ |
538 | 538 | public function disable($name) |
539 | 539 | { |
@@ -91,7 +91,7 @@ |
||
91 | 91 | /** |
92 | 92 | * Get matches data from regex. |
93 | 93 | * |
94 | - * @return array |
|
94 | + * @return string[] |
|
95 | 95 | */ |
96 | 96 | public function getMatches() |
97 | 97 | { |