@@ -163,6 +163,10 @@ discard block |
||
| 163 | 163 | return $container; |
| 164 | 164 | } |
| 165 | 165 | |
| 166 | + /** |
|
| 167 | + * @param Application $app |
|
| 168 | + * @param Container $container |
|
| 169 | + */ |
|
| 166 | 170 | public static function configureApplication($app, $container) |
| 167 | 171 | { |
| 168 | 172 | // Set the application dispatcher |
@@ -350,7 +354,7 @@ discard block |
||
| 350 | 354 | * @param string $id |
| 351 | 355 | * The ID of the service to retrieve. |
| 352 | 356 | * |
| 353 | - * @return mixed |
|
| 357 | + * @return \Symfony\Component\Console\Output\OutputInterface |
|
| 354 | 358 | * The specified service. |
| 355 | 359 | */ |
| 356 | 360 | public static function service($id) |
@@ -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 | */ |
@@ -165,7 +165,7 @@ discard block |
||
| 165 | 165 | } |
| 166 | 166 | |
| 167 | 167 | /** |
| 168 | - * @param array|string|\Traversable $src |
|
| 168 | + * @param string $src |
|
| 169 | 169 | * One or more source values. |
| 170 | 170 | * |
| 171 | 171 | * @return $this |
@@ -190,7 +190,7 @@ discard block |
||
| 190 | 190 | } |
| 191 | 191 | |
| 192 | 192 | /** |
| 193 | - * @param array|string $exts |
|
| 193 | + * @param string $exts |
|
| 194 | 194 | * One or more extensions. |
| 195 | 195 | * |
| 196 | 196 | * @return $this |
@@ -202,7 +202,7 @@ discard block |
||
| 202 | 202 | } |
| 203 | 203 | |
| 204 | 204 | /** |
| 205 | - * @param array|string $exclude |
|
| 205 | + * @param string[] $exclude |
|
| 206 | 206 | * One or more exclusions. |
| 207 | 207 | * |
| 208 | 208 | * @return $this |
@@ -216,7 +216,7 @@ discard block |
||
| 216 | 216 | } |
| 217 | 217 | |
| 218 | 218 | /** |
| 219 | - * @param array|string|\Traversable $path |
|
| 219 | + * @param \SplDoublyLinkedList $path |
|
| 220 | 220 | * One or more skip-doc-path values. |
| 221 | 221 | * |
| 222 | 222 | * @return $this |
@@ -244,7 +244,7 @@ discard block |
||
| 244 | 244 | } |
| 245 | 245 | |
| 246 | 246 | /** |
| 247 | - * @param array|string $charset |
|
| 247 | + * @param string[] $charset |
|
| 248 | 248 | * One or more charsets. |
| 249 | 249 | * |
| 250 | 250 | * @return $this |
@@ -4,7 +4,7 @@ |
||
| 4 | 4 | trait loadTasks |
| 5 | 5 | { |
| 6 | 6 | /** |
| 7 | - * @param string|\Robo\Contract\CommandInterface $command |
|
| 7 | + * @param string $command |
|
| 8 | 8 | * |
| 9 | 9 | * @return \Robo\Task\Base\Exec|\Robo\Collection\CollectionBuilder |
| 10 | 10 | */ |
@@ -70,7 +70,7 @@ |
||
| 70 | 70 | } |
| 71 | 71 | |
| 72 | 72 | /** |
| 73 | - * @param string|\Robo\Contract\CommandInterface $command |
|
| 73 | + * @param string $command |
|
| 74 | 74 | * |
| 75 | 75 | * @return $this |
| 76 | 76 | */ |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | } |
| 76 | 76 | |
| 77 | 77 | /** |
| 78 | - * @param string|array $url |
|
| 78 | + * @param string[] $url |
|
| 79 | 79 | * |
| 80 | 80 | * @return \Robo\Task\Development\OpenBrowser|\Robo\Collection\CollectionBuilder |
| 81 | 81 | */ |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | } |
| 15 | 15 | |
| 16 | 16 | /** |
| 17 | - * @param string|string[] $dirs |
|
| 17 | + * @param string $dirs |
|
| 18 | 18 | * |
| 19 | 19 | * @return \Robo\Task\Filesystem\DeleteDir|\Robo\Collection\CollectionBuilder |
| 20 | 20 | */ |
@@ -186,7 +186,7 @@ discard block |
||
| 186 | 186 | } |
| 187 | 187 | |
| 188 | 188 | /** |
| 189 | - * @param string|string[]|CommandInterface $command |
|
| 189 | + * @param string $command |
|
| 190 | 190 | * |
| 191 | 191 | * @return $this |
| 192 | 192 | */ |
@@ -255,7 +255,7 @@ discard block |
||
| 255 | 255 | /** |
| 256 | 256 | * Returns an ssh command string running $command on the remote. |
| 257 | 257 | * |
| 258 | - * @param string|CommandInterface $command |
|
| 258 | + * @param string $command |
|
| 259 | 259 | * |
| 260 | 260 | * @return string |
| 261 | 261 | */ |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | /** |
| 49 | 49 | * Tag or Tags to filter. |
| 50 | 50 | * |
| 51 | - * @param string|string[] $tags |
|
| 51 | + * @param string $tags |
|
| 52 | 52 | * |
| 53 | 53 | * @return $this |
| 54 | 54 | */ |
@@ -125,6 +125,7 @@ discard block |
||
| 125 | 125 | * Test file or test files to run. |
| 126 | 126 | * |
| 127 | 127 | * @param string|string[] |
| 128 | + * @param string[] $files |
|
| 128 | 129 | * |
| 129 | 130 | * @return $this |
| 130 | 131 | */ |
@@ -138,6 +139,7 @@ discard block |
||
| 138 | 139 | * |
| 139 | 140 | * @param string|string[] |
| 140 | 141 | * A single directory or a list of directories. |
| 142 | + * @param string $directories |
|
| 141 | 143 | * |
| 142 | 144 | * @return $this |
| 143 | 145 | */ |