@@ -16,7 +16,7 @@ |
||
16 | 16 | } |
17 | 17 | |
18 | 18 | /** |
19 | - * @param string|string[] $dirs |
|
19 | + * @param string $dirs |
|
20 | 20 | * |
21 | 21 | * @return \Robo\Task\Filesystem\DeleteDir |
22 | 22 | */ |
@@ -256,7 +256,7 @@ |
||
256 | 256 | /** |
257 | 257 | * Returns an ssh command string running $command on the remote. |
258 | 258 | * |
259 | - * @param string|CommandInterface $command |
|
259 | + * @param string $command |
|
260 | 260 | * |
261 | 261 | * @return string |
262 | 262 | */ |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | /** |
49 | 49 | * Tag or Tags to filter. |
50 | 50 | * |
51 | - * @param string|array $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|array |
128 | + * @param string[] $files |
|
128 | 129 | * |
129 | 130 | * @return $this |
130 | 131 | */ |
@@ -137,6 +138,7 @@ discard block |
||
137 | 138 | * Test directory or directories to run. |
138 | 139 | * |
139 | 140 | * @param string|array A single directory or a list of directories. |
141 | + * @param string $directories |
|
140 | 142 | * |
141 | 143 | * @return $this |
142 | 144 | */ |
@@ -37,6 +37,9 @@ discard block |
||
37 | 37 | */ |
38 | 38 | protected $verbose_levels = ['v', 'vv', 'vvv']; |
39 | 39 | |
40 | + /** |
|
41 | + * @param string $pathToPhpspec |
|
42 | + */ |
|
40 | 43 | public function __construct($pathToPhpspec = null) |
41 | 44 | { |
42 | 45 | $this->command = $pathToPhpspec; |
@@ -94,6 +97,9 @@ discard block |
||
94 | 97 | return $this; |
95 | 98 | } |
96 | 99 | |
100 | + /** |
|
101 | + * @param string $formater |
|
102 | + */ |
|
97 | 103 | public function format($formater) |
98 | 104 | { |
99 | 105 | if (!in_array($formater, $this->formaters)) { |
@@ -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 | */ |