@@ -2,7 +2,6 @@ |
||
2 | 2 | namespace Robo\Config; |
3 | 3 | |
4 | 4 | use Consolidation\Config\Util\ConfigOverlay; |
5 | -use Consolidation\Config\ConfigInterface; |
|
6 | 5 | |
7 | 6 | class Config extends ConfigOverlay implements GlobalOptionDefaultValuesInterface |
8 | 7 | { |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | |
39 | 39 | $task->monitor( |
40 | 40 | 'src', |
41 | - function () { |
|
41 | + function() { |
|
42 | 42 | //do nothing |
43 | 43 | }, |
44 | 44 | 1 // CREATE |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | |
54 | 54 | $task->monitor( |
55 | 55 | 'src', |
56 | - function () { |
|
56 | + function() { |
|
57 | 57 | //do nothing |
58 | 58 | }, |
59 | 59 | [ |
@@ -51,7 +51,7 @@ |
||
51 | 51 | public function testSemverParseFileWithWindowsLineEndings() |
52 | 52 | { |
53 | 53 | $fixturePath = tempnam(sys_get_temp_dir(), 'semver'); |
54 | - $semverFile = str_replace("\n", "\r\n", file_get_contents(codecept_data_dir().'.semver')); |
|
54 | + $semverFile = str_replace("\n", "\r\n", file_get_contents(codecept_data_dir() . '.semver')); |
|
55 | 55 | file_put_contents($fixturePath, $semverFile); |
56 | 56 | |
57 | 57 | $res = (new \Robo\Task\Development\SemVer($fixturePath)) |
@@ -11,7 +11,6 @@ |
||
11 | 11 | |
12 | 12 | /** |
13 | 13 | * @command cat |
14 | - * @param string $file |
|
15 | 14 | * @default $file - |
16 | 15 | */ |
17 | 16 | public function cat(InputInterface $input) |
@@ -130,7 +130,7 @@ |
||
130 | 130 | * |
131 | 131 | * @param string $value |
132 | 132 | * |
133 | - * @return array |
|
133 | + * @return boolean[] |
|
134 | 134 | */ |
135 | 135 | protected function splitConfigKeyValue($value) |
136 | 136 | { |
@@ -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 | */ |
@@ -81,7 +81,7 @@ |
||
81 | 81 | public function __construct($roboClass = null, $roboFile = null) |
82 | 82 | { |
83 | 83 | // set the const as class properties to allow overwriting in child classes |
84 | - $this->roboClass = $roboClass ? $roboClass : self::ROBOCLASS ; |
|
84 | + $this->roboClass = $roboClass ? $roboClass : self::ROBOCLASS; |
|
85 | 85 | $this->roboFile = $roboFile ? $roboFile : self::ROBOFILE; |
86 | 86 | $this->dir = getcwd(); |
87 | 87 | } |
@@ -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 | */ |