@@ -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; |
@@ -33,7 +33,6 @@ discard block |
||
| 33 | 33 | /** |
| 34 | 34 | * Constructor. This should not be documented |
| 35 | 35 | * |
| 36 | - * @param array|Iterator $files |
|
| 37 | 36 | */ |
| 38 | 37 | public function __construct() |
| 39 | 38 | { |
@@ -44,7 +43,7 @@ discard block |
||
| 44 | 43 | * |
| 45 | 44 | * @param string $dst |
| 46 | 45 | * |
| 47 | - * @return Concat The current instance |
|
| 46 | + * @return TestedRoboTask The current instance |
|
| 48 | 47 | */ |
| 49 | 48 | public function to($dst) |
| 50 | 49 | { |
@@ -12,6 +12,9 @@ |
||
| 12 | 12 | protected $capturedOutput; |
| 13 | 13 | protected $logger; |
| 14 | 14 | |
| 15 | + /** |
|
| 16 | + * @param \League\Container\Container $container |
|
| 17 | + */ |
|
| 15 | 18 | public function initSeeInOutputTrait($container, $input = null) |
| 16 | 19 | { |
| 17 | 20 | $this->capturedOutput = ''; |
@@ -132,6 +132,9 @@ |
||
| 132 | 132 | $this->assertNotNull($this->app->find('generate:user-avatar')); |
| 133 | 133 | } |
| 134 | 134 | |
| 135 | + /** |
|
| 136 | + * @param string $name |
|
| 137 | + */ |
|
| 135 | 138 | protected function createCommand($name) |
| 136 | 139 | { |
| 137 | 140 | $commandInfo = new CommandInfo($this->roboCommandFileInstance, $name); |
@@ -145,6 +145,10 @@ |
||
| 145 | 145 | protected $key; |
| 146 | 146 | protected $value; |
| 147 | 147 | |
| 148 | + /** |
|
| 149 | + * @param string $key |
|
| 150 | + * @param string $value |
|
| 151 | + */ |
|
| 148 | 152 | public function __construct($key, $value) |
| 149 | 153 | { |
| 150 | 154 | $this->key = $key; |
@@ -16,6 +16,9 @@ |
||
| 16 | 16 | ]); |
| 17 | 17 | } |
| 18 | 18 | |
| 19 | + /** |
|
| 20 | + * @param string $expected |
|
| 21 | + */ |
|
| 19 | 22 | protected function adjustQuotes($expected) |
| 20 | 23 | { |
| 21 | 24 | $isWindows = defined('PHP_WINDOWS_VERSION_MAJOR'); |
@@ -193,7 +193,7 @@ discard block |
||
| 193 | 193 | * |
| 194 | 194 | * @param string $method |
| 195 | 195 | * @param string $name |
| 196 | - * @param callable|TaskInterface $task |
|
| 196 | + * @param callable $task |
|
| 197 | 197 | * @param string $nameOfTaskToAdd |
| 198 | 198 | * |
| 199 | 199 | * @return $this |
@@ -262,7 +262,7 @@ discard block |
||
| 262 | 262 | /** |
| 263 | 263 | * Return the list of task names added to this collection. |
| 264 | 264 | * |
| 265 | - * @return array |
|
| 265 | + * @return integer[] |
|
| 266 | 266 | */ |
| 267 | 267 | public function taskNames() |
| 268 | 268 | { |
@@ -335,7 +335,7 @@ discard block |
||
| 335 | 335 | } |
| 336 | 336 | |
| 337 | 337 | /** |
| 338 | - * @param int|string $name |
|
| 338 | + * @param string $name |
|
| 339 | 339 | * @param \Robo\Collection\Element $taskGroup |
| 340 | 340 | * |
| 341 | 341 | * @return $this |
@@ -621,7 +621,7 @@ discard block |
||
| 621 | 621 | } |
| 622 | 622 | |
| 623 | 623 | /** |
| 624 | - * @param TaskInterface|NestedCollectionInterface|WrappedTaskInterface $task |
|
| 624 | + * @param TaskInterface $task |
|
| 625 | 625 | * |
| 626 | 626 | * @return \Robo\Result |
| 627 | 627 | */ |
@@ -638,7 +638,7 @@ discard block |
||
| 638 | 638 | |
| 639 | 639 | /** |
| 640 | 640 | * @param TaskInterface|NestedCollectionInterface|WrappedTaskInterface $task |
| 641 | - * @param $parentCollection |
|
| 641 | + * @param CollectionInterface $parentCollection |
|
| 642 | 642 | */ |
| 643 | 643 | protected function setParentCollectionForTask($task, $parentCollection) |
| 644 | 644 | { |
@@ -362,7 +362,7 @@ |
||
| 362 | 362 | * @param InflectionInterface $task |
| 363 | 363 | * @param array $args |
| 364 | 364 | * |
| 365 | - * @return \Robo\Collection\CompletionWrapper|\Robo\Task\Simulator |
|
| 365 | + * @return TaskInterface |
|
| 366 | 366 | */ |
| 367 | 367 | protected function fixTask($task, $args) |
| 368 | 368 | { |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | * |
| 26 | 26 | * @param TaskInterface $task |
| 27 | 27 | * The task to add to our collection. |
| 28 | - * @param int|string $name |
|
| 28 | + * @param integer $name |
|
| 29 | 29 | * An optional name for the task -- missing or UNNAMEDTASK for unnamed tasks. |
| 30 | 30 | * Names are used for positioning before and after tasks. |
| 31 | 31 | * |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | * Add arbitrary code to execute as a task. |
| 38 | 38 | * |
| 39 | 39 | * @param callable $code Code to execute as a task |
| 40 | - * @param int|string $name |
|
| 40 | + * @param integer $name |
|
| 41 | 41 | * An optional name for the task -- missing or UNNAMEDTASK for unnamed tasks. |
| 42 | 42 | * Names are used for positioning before and after tasks. |
| 43 | 43 | * |
@@ -109,9 +109,9 @@ discard block |
||
| 109 | 109 | * |
| 110 | 110 | * @param string $name |
| 111 | 111 | * The name of the task to insert before. The named task MUST exist. |
| 112 | - * @param callable|TaskInterface $task |
|
| 112 | + * @param callable $task |
|
| 113 | 113 | * The task to add. |
| 114 | - * @param int|string $nameOfTaskToAdd |
|
| 114 | + * @param integer $nameOfTaskToAdd |
|
| 115 | 115 | * The name of the task to add. If not provided, will be associated |
| 116 | 116 | * with the named task it was added before. |
| 117 | 117 | * |
@@ -124,9 +124,9 @@ discard block |
||
| 124 | 124 | * |
| 125 | 125 | * @param string $name |
| 126 | 126 | * The name of the task to insert before. The named task MUST exist. |
| 127 | - * @param callable|TaskInterface $task |
|
| 127 | + * @param callable $task |
|
| 128 | 128 | * The task to add. |
| 129 | - * @param int|string $nameOfTaskToAdd |
|
| 129 | + * @param integer $nameOfTaskToAdd |
|
| 130 | 130 | * The name of the task to add. If not provided, will be associated |
| 131 | 131 | * with the named task it was added after. |
| 132 | 132 | * |
@@ -142,7 +142,7 @@ discard block |
||
| 142 | 142 | * |
| 143 | 143 | * @param string $text Message to print. |
| 144 | 144 | * @param array $context Extra context data for use by the logger. |
| 145 | - * @param \Psr\Log\LogLevel|string $level The log level to print the information at. Default is NOTICE. |
|
| 145 | + * @param string $level The log level to print the information at. Default is NOTICE. |
|
| 146 | 146 | * |
| 147 | 147 | * @return $this |
| 148 | 148 | */ |