@@ -35,6 +35,9 @@ |
||
| 35 | 35 | */ |
| 36 | 36 | protected $files = ''; |
| 37 | 37 | |
| 38 | + /** |
|
| 39 | + * @param string $pathToPhpUnit |
|
| 40 | + */ |
|
| 38 | 41 | public function __construct($pathToPhpUnit = null) |
| 39 | 42 | { |
| 40 | 43 | $this->command = $pathToPhpUnit; |
@@ -353,7 +353,7 @@ |
||
| 353 | 353 | } |
| 354 | 354 | |
| 355 | 355 | /** |
| 356 | - * @param array|string $pattern |
|
| 356 | + * @param string[] $pattern |
|
| 357 | 357 | * |
| 358 | 358 | * @return $this |
| 359 | 359 | */ |
@@ -79,7 +79,7 @@ |
||
| 79 | 79 | * |
| 80 | 80 | * @covers ::args |
| 81 | 81 | * |
| 82 | - * @param string $expected |
|
| 82 | + * @param string $expectedLinux |
|
| 83 | 83 | * @param array $args |
| 84 | 84 | */ |
| 85 | 85 | public function testArgs($expectedLinux, $expectedWindows, $args) |
@@ -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 | { |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | } |
| 76 | 76 | |
| 77 | 77 | /** |
| 78 | - * @param string|array $url |
|
| 78 | + * @param string[] $url |
|
| 79 | 79 | * |
| 80 | 80 | * @return OpenBrowser |
| 81 | 81 | */ |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | * |
| 28 | 28 | * @param \Robo\Result $result |
| 29 | 29 | * |
| 30 | - * @return bool |
|
| 30 | + * @return null|boolean |
|
| 31 | 31 | */ |
| 32 | 32 | public function printResult(Result $result) |
| 33 | 33 | { |
@@ -24,6 +24,10 @@ |
||
| 24 | 24 | $this->process = $process; |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | + /** |
|
| 28 | + * @param \League\Container\ContainerInterface $container |
|
| 29 | + * @param Process $process |
|
| 30 | + */ |
|
| 27 | 31 | public static function create($container, $process) |
| 28 | 32 | { |
| 29 | 33 | $processExecutor = new self($process); |
@@ -72,6 +72,10 @@ |
||
| 72 | 72 | $this->commandFile = $commandFile; |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | + /** |
|
| 76 | + * @param \League\Container\ContainerInterface $container |
|
| 77 | + * @param BuilderAwareInterface $commandFile |
|
| 78 | + */ |
|
| 75 | 79 | public static function create($container, $commandFile) |
| 76 | 80 | { |
| 77 | 81 | $builder = new self($commandFile); |
@@ -91,6 +91,7 @@ discard block |
||
| 91 | 91 | |
| 92 | 92 | /** |
| 93 | 93 | * Create a config object and load it from the provided paths. |
| 94 | + * @param string[] $paths |
|
| 94 | 95 | */ |
| 95 | 96 | public static function createConfiguration($paths) |
| 96 | 97 | { |
@@ -101,6 +102,7 @@ discard block |
||
| 101 | 102 | |
| 102 | 103 | /** |
| 103 | 104 | * Use a simple config loader to load configuration values from specified paths |
| 105 | + * @param Config\Config $config |
|
| 104 | 106 | */ |
| 105 | 107 | public static function loadConfiguration($paths, $config = null) |
| 106 | 108 | { |
@@ -304,7 +306,7 @@ discard block |
||
| 304 | 306 | * @param string $id |
| 305 | 307 | * The ID of the service to retrieve. |
| 306 | 308 | * |
| 307 | - * @return mixed |
|
| 309 | + * @return \Symfony\Component\Console\Output\OutputInterface |
|
| 308 | 310 | * The specified service. |
| 309 | 311 | */ |
| 310 | 312 | public static function service($id) |