@@ -43,7 +43,7 @@ |
||
| 43 | 43 | protected $command; |
| 44 | 44 | |
| 45 | 45 | /** |
| 46 | - * @param string|\Robo\Contract\CommandInterface $command |
|
| 46 | + * @param string $command |
|
| 47 | 47 | */ |
| 48 | 48 | public function __construct($command) |
| 49 | 49 | { |
@@ -11,6 +11,9 @@ discard block |
||
| 11 | 11 | protected $capturedOutput; |
| 12 | 12 | protected $logger; |
| 13 | 13 | |
| 14 | + /** |
|
| 15 | + * @param \League\Container\Container $container |
|
| 16 | + */ |
|
| 14 | 17 | public function initSeeInOutputTrait($container, $input = null) |
| 15 | 18 | { |
| 16 | 19 | $this->capturedOutput = ''; |
@@ -65,6 +68,7 @@ discard block |
||
| 65 | 68 | /** |
| 66 | 69 | * Make our output comparisons more platform-agnostic by converting |
| 67 | 70 | * CRLF (Windows) or raw CR (confused output) to a LF (unix/Mac). |
| 71 | + * @param string $output |
|
| 68 | 72 | */ |
| 69 | 73 | protected function simplify($output) |
| 70 | 74 | { |
@@ -72,6 +72,9 @@ |
||
| 72 | 72 | return "'".str_replace("'", "'\\''", $argument)."'"; |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | + /** |
|
| 76 | + * @param string $char |
|
| 77 | + */ |
|
| 75 | 78 | private static function isSurroundedBy($arg, $char) |
| 76 | 79 | { |
| 77 | 80 | return 2 < strlen($arg) && $char === $arg[0] && $char === $arg[strlen($arg) - 1]; |
@@ -348,6 +348,9 @@ |
||
| 348 | 348 | { |
| 349 | 349 | protected $message; |
| 350 | 350 | |
| 351 | + /** |
|
| 352 | + * @param string $message |
|
| 353 | + */ |
|
| 351 | 354 | public function __construct($message) |
| 352 | 355 | { |
| 353 | 356 | $this->message = $message; |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | |
| 12 | 12 | /** |
| 13 | 13 | * @command cat |
| 14 | - * @param string $file |
|
| 15 | 14 | * @default $file - |
| 16 | 15 | */ |
| 17 | 16 | public function cat(InputInterface $input) |
@@ -212,7 +212,7 @@ discard block |
||
| 212 | 212 | * |
| 213 | 213 | * @param string $method |
| 214 | 214 | * @param string $name |
| 215 | - * @param callable|\Robo\Contract\TaskInterface $task |
|
| 215 | + * @param callable $task |
|
| 216 | 216 | * @param string $nameOfTaskToAdd |
| 217 | 217 | * |
| 218 | 218 | * @return $this |
@@ -283,7 +283,7 @@ discard block |
||
| 283 | 283 | /** |
| 284 | 284 | * Return the list of task names added to this collection. |
| 285 | 285 | * |
| 286 | - * @return string[] |
|
| 286 | + * @return integer[] |
|
| 287 | 287 | */ |
| 288 | 288 | public function taskNames() |
| 289 | 289 | { |
@@ -356,7 +356,7 @@ discard block |
||
| 356 | 356 | } |
| 357 | 357 | |
| 358 | 358 | /** |
| 359 | - * @param int|string $name |
|
| 359 | + * @param string $name |
|
| 360 | 360 | * @param \Robo\Collection\Element $taskGroup |
| 361 | 361 | * |
| 362 | 362 | * @return $this |
@@ -648,7 +648,7 @@ discard block |
||
| 648 | 648 | } |
| 649 | 649 | |
| 650 | 650 | /** |
| 651 | - * @param \Robo\Contract\TaskInterface|\Robo\Collection\NestedCollectionInterface|\Robo\Contract\WrappedTaskInterface $task |
|
| 651 | + * @param TaskInterface $task |
|
| 652 | 652 | * |
| 653 | 653 | * @return \Robo\Result |
| 654 | 654 | */ |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | * @param string $type |
| 49 | 49 | * Allowed values: "file", "dir", "fileAndDir". |
| 50 | 50 | * |
| 51 | - * @return bool |
|
| 51 | + * @return boolean|null |
|
| 52 | 52 | */ |
| 53 | 53 | protected function checkResource($resource, $type) |
| 54 | 54 | { |
@@ -130,7 +130,7 @@ |
||
| 130 | 130 | * |
| 131 | 131 | * @param string $value |
| 132 | 132 | * |
| 133 | - * @return array |
|
| 133 | + * @return boolean[] |
|
| 134 | 134 | */ |
| 135 | 135 | protected function splitConfigKeyValue($value) |
| 136 | 136 | { |
@@ -136,7 +136,7 @@ discard block |
||
| 136 | 136 | } |
| 137 | 137 | |
| 138 | 138 | /** |
| 139 | - * @param array $argv |
|
| 139 | + * @param string[] $argv |
|
| 140 | 140 | * @param null|string $appName |
| 141 | 141 | * @param null|string $appVersion |
| 142 | 142 | * @param null|\Symfony\Component\Console\Output\OutputInterface $output |
@@ -175,7 +175,7 @@ discard block |
||
| 175 | 175 | * @param null|\Symfony\Component\Console\Input\InputInterface $input |
| 176 | 176 | * @param null|\Symfony\Component\Console\Output\OutputInterface $output |
| 177 | 177 | * @param null|\Robo\Application $app |
| 178 | - * @param array[] $commandFiles |
|
| 178 | + * @param null|string $commandFiles |
|
| 179 | 179 | * @param null|ClassLoader $classLoader |
| 180 | 180 | * |
| 181 | 181 | * @return int |
@@ -535,7 +535,7 @@ discard block |
||
| 535 | 535 | } |
| 536 | 536 | |
| 537 | 537 | /** |
| 538 | - * @param $selfUpdateRepository |
|
| 538 | + * @param null|string $selfUpdateRepository |
|
| 539 | 539 | * |
| 540 | 540 | * @return $this |
| 541 | 541 | */ |