@@ -45,6 +45,7 @@ |
||
45 | 45 | |
46 | 46 | /** |
47 | 47 | * {@inheritdoc} |
48 | + * @param string $name |
|
48 | 49 | */ |
49 | 50 | public function addContext($name, ConfigInterface $config) |
50 | 51 | { |
@@ -46,7 +46,7 @@ |
||
46 | 46 | /** |
47 | 47 | * {@inheritdoc} |
48 | 48 | */ |
49 | - public function addContext($name, ConfigInterface $config) |
|
49 | + public function addContext($name, ConfigInterface $config) |
|
50 | 50 | { |
51 | 51 | $this->contexts[$name] = $config; |
52 | 52 | return $this; |
@@ -79,6 +79,9 @@ discard block |
||
79 | 79 | $this->dir = getcwd(); |
80 | 80 | } |
81 | 81 | |
82 | + /** |
|
83 | + * @param string $errorType |
|
84 | + */ |
|
82 | 85 | protected function errorCondition($msg, $errorType) |
83 | 86 | { |
84 | 87 | $this->errorConditions[$msg] = $errorType; |
@@ -126,7 +129,7 @@ discard block |
||
126 | 129 | } |
127 | 130 | |
128 | 131 | /** |
129 | - * @param array $argv |
|
132 | + * @param string[] $argv |
|
130 | 133 | * @param null|string $appName |
131 | 134 | * @param null|string $appVersion |
132 | 135 | * @param null|\Symfony\Component\Console\Output\OutputInterface $output |
@@ -147,6 +150,7 @@ discard block |
||
147 | 150 | |
148 | 151 | /** |
149 | 152 | * Get a list of locations where config files may be loaded |
153 | + * @param string $userConfig |
|
150 | 154 | * @return string[] |
151 | 155 | */ |
152 | 156 | protected function getConfigFilePaths($userConfig) { |
@@ -161,7 +165,7 @@ discard block |
||
161 | 165 | * @param null|\Symfony\Component\Console\Input\InputInterface $input |
162 | 166 | * @param null|\Symfony\Component\Console\Output\OutputInterface $output |
163 | 167 | * @param null|\Robo\Application $app |
164 | - * @param array[] $commandFiles |
|
168 | + * @param null|string $commandFiles |
|
165 | 169 | * @param null|ClassLoader $classLoader |
166 | 170 | * |
167 | 171 | * @return int |
@@ -257,9 +261,9 @@ discard block |
||
257 | 261 | } |
258 | 262 | |
259 | 263 | /** |
260 | - * @param $relativeNamespace |
|
264 | + * @param string $relativeNamespace |
|
261 | 265 | * |
262 | - * @return array|string[] |
|
266 | + * @return string[] |
|
263 | 267 | */ |
264 | 268 | protected function discoverCommandClasses($relativeNamespace) |
265 | 269 | { |