@@ -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 | { |
@@ -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); |
@@ -44,7 +44,7 @@ |
||
44 | 44 | * @param string $resource File or folder. |
45 | 45 | * @param string $type "file", "dir", "fileAndDir" |
46 | 46 | * |
47 | - * @return bool |
|
47 | + * @return boolean|null |
|
48 | 48 | */ |
49 | 49 | protected function checkResource($resource, $type) |
50 | 50 | { |
@@ -167,7 +167,7 @@ |
||
167 | 167 | } |
168 | 168 | |
169 | 169 | /** |
170 | - * @param $inProgress |
|
170 | + * @param boolean $inProgress |
|
171 | 171 | */ |
172 | 172 | protected function showTaskProgress($inProgress) |
173 | 173 | { |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | } |
93 | 93 | |
94 | 94 | /** |
95 | - * @param array $argv |
|
95 | + * @param string[] $argv |
|
96 | 96 | * @param null|string $appName |
97 | 97 | * @param null|string $appVersion |
98 | 98 | * @param null|\Symfony\Component\Console\Output\OutputInterface $output |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | * @param null|\Symfony\Component\Console\Input\InputInterface $input |
116 | 116 | * @param null|\Symfony\Component\Console\Output\OutputInterface $output |
117 | 117 | * @param null|\Robo\Application $app |
118 | - * @param array[] $commandFiles |
|
118 | + * @param null|string $commandFiles |
|
119 | 119 | * |
120 | 120 | * @return int |
121 | 121 | */ |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | } |
120 | 120 | |
121 | 121 | /** |
122 | - * @param array|string|Traversable $src one or more source values |
|
122 | + * @param string $src one or more source values |
|
123 | 123 | * |
124 | 124 | * @return $this |
125 | 125 | */ |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | } |
144 | 144 | |
145 | 145 | /** |
146 | - * @param array|string $exts one or more extensions |
|
146 | + * @param string $exts one or more extensions |
|
147 | 147 | * |
148 | 148 | * @return $this |
149 | 149 | */ |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | } |
155 | 155 | |
156 | 156 | /** |
157 | - * @param array|string $exclude one or more exclusions |
|
157 | + * @param string[] $exclude one or more exclusions |
|
158 | 158 | * |
159 | 159 | * @return $this |
160 | 160 | */ |
@@ -167,7 +167,7 @@ discard block |
||
167 | 167 | } |
168 | 168 | |
169 | 169 | /** |
170 | - * @param array|string|Traversable $path one or more skip-doc-path values |
|
170 | + * @param \SplDoublyLinkedList $path one or more skip-doc-path values |
|
171 | 171 | * |
172 | 172 | * @return $this |
173 | 173 | */ |
@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | } |
194 | 194 | |
195 | 195 | /** |
196 | - * @param array|string $charset one or more charsets |
|
196 | + * @param string[] $charset one or more charsets |
|
197 | 197 | * |
198 | 198 | * @return $this |
199 | 199 | */ |
@@ -206,7 +206,7 @@ |
||
206 | 206 | /** |
207 | 207 | * @param string $filename |
208 | 208 | * |
209 | - * @return bool|string |
|
209 | + * @return string|false |
|
210 | 210 | */ |
211 | 211 | protected static function archiveType($filename) |
212 | 212 | { |
@@ -6,7 +6,7 @@ |
||
6 | 6 | /** |
7 | 7 | * Executes shell command |
8 | 8 | * |
9 | - * @param string|\Robo\Contract\CommandInterface $command |
|
9 | + * @param string $command |
|
10 | 10 | * |
11 | 11 | * @return \Robo\Result |
12 | 12 | */ |