@@ -69,6 +69,7 @@ discard block |
||
69 | 69 | * - command.foo.bar.options |
70 | 70 | * - command.foo.options |
71 | 71 | * If any of these contain an option for "$key", then return its value. |
72 | + * @param string $key |
|
72 | 73 | */ |
73 | 74 | public function getWithFallback($key, $group, $prefix = '', $postfix = '.') |
74 | 75 | { |
@@ -89,6 +90,7 @@ discard block |
||
89 | 90 | /** |
90 | 91 | * Works like 'getWithFallback', but merges results from all applicable |
91 | 92 | * groups. Settings from most specific group take precedence. |
93 | + * @param string $group |
|
92 | 94 | */ |
93 | 95 | public function getWithMerge($key, $group, $prefix = '', $postfix = '.') |
94 | 96 | { |
@@ -159,6 +161,7 @@ discard block |
||
159 | 161 | * of the provided object is a reference to the object itself. All |
160 | 162 | * setter methods should do this. This test is insufficient to guarentee |
161 | 163 | * that the method is valid, but it would catch almost every misuse. |
164 | + * @param string $configurationKey |
|
162 | 165 | */ |
163 | 166 | public function applyConfiguration($object, $configurationKey, $group = '', $prefix = '', $postfix = '') |
164 | 167 | { |
@@ -198,7 +201,7 @@ discard block |
||
198 | 201 | * |
199 | 202 | * @param string $key |
200 | 203 | * |
201 | - * @return mixed |
|
204 | + * @return boolean |
|
202 | 205 | */ |
203 | 206 | public function hasDefault($key) |
204 | 207 | { |
@@ -209,7 +212,7 @@ discard block |
||
209 | 212 | * Return the default value for a given configuration item. |
210 | 213 | * |
211 | 214 | * @param string $key |
212 | - * @param mixed $defaultOverride |
|
215 | + * @param string|null $defaultOverride |
|
213 | 216 | * |
214 | 217 | * @return mixed |
215 | 218 | */ |
@@ -260,7 +263,6 @@ discard block |
||
260 | 263 | } |
261 | 264 | |
262 | 265 | /** |
263 | - * @param bool $simulated |
|
264 | 266 | * |
265 | 267 | * @return $this |
266 | 268 | */ |