Completed
Push — master ( a5df1d...34e0af )
by Greg
02:47
created
src/Config/Config.php 1 patch
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,6 +69,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
260 263
     }
261 264
 
262 265
     /**
263
-     * @param bool $simulated
264 266
      *
265 267
      * @return $this
266 268
      */
Please login to merge, or discard this patch.