@@ -3,7 +3,6 @@ |
||
3 | 3 | |
4 | 4 | use Robo\Result; |
5 | 5 | use Robo\Task\BaseTask; |
6 | -use Robo\Contract\TaskInterface; |
|
7 | 6 | |
8 | 7 | /** |
9 | 8 | * Extend StackBasedTask to create a Robo task that |
@@ -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; |
@@ -4,10 +4,10 @@ discard block |
||
4 | 4 | trait loadTasks |
5 | 5 | { |
6 | 6 | /** |
7 | - * @param string $input |
|
8 | - * |
|
7 | + * @param string $input |
|
8 | + * |
|
9 | 9 | * @return \Robo\Task\Assets\Minify |
10 | - */ |
|
10 | + */ |
|
11 | 11 | protected function taskMinify($input) |
12 | 12 | { |
13 | 13 | return $this->task(Minify::class, $input); |
@@ -23,11 +23,11 @@ discard block |
||
23 | 23 | return $this->task(ImageMinify::class, $input); |
24 | 24 | } |
25 | 25 | |
26 | - /** |
|
27 | - * @param array $input |
|
28 | - * |
|
29 | - * @return \Robo\Task\Assets\Less |
|
30 | - */ |
|
26 | + /** |
|
27 | + * @param array $input |
|
28 | + * |
|
29 | + * @return \Robo\Task\Assets\Less |
|
30 | + */ |
|
31 | 31 | protected function taskLess($input) |
32 | 32 | { |
33 | 33 | return $this->task(Less::class, $input); |
@@ -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 Exec |
10 | 10 | */ |
@@ -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 | */ |