@@ -67,7 +67,7 @@ |
||
67 | 67 | } |
68 | 68 | |
69 | 69 | /** |
70 | - * @param string|array $url |
|
70 | + * @param string[] $url |
|
71 | 71 | * @return OpenBrowser |
72 | 72 | */ |
73 | 73 | protected function taskOpenBrowser($url) |
@@ -81,6 +81,9 @@ |
||
81 | 81 | return false; |
82 | 82 | } |
83 | 83 | |
84 | + /** |
|
85 | + * @param string $message |
|
86 | + */ |
|
84 | 87 | protected function printMessage($level, $message, $context = []) |
85 | 88 | { |
86 | 89 | $inProgress = $this->hideProgressIndicator(); |
@@ -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 | { |