Passed
Pull Request — develop (#53)
by Kevin
08:43
created
lib/Config/Builder.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     }
103 103
 
104 104
     /**
105
-     * @param ConfigurationRepository|null $config
105
+     * @param null|ConfigInterface $config
106 106
      * @return ConfigurationRepository
107 107
      * @throws InvalidConfigurationLocationException
108 108
      * @throws InvalidFileException
@@ -159,6 +159,9 @@  discard block
 block discarded – undo
159 159
         return $structure;
160 160
     }
161 161
 
162
+    /**
163
+     * @param string $callbackString
164
+     */
162 165
     protected function executeCallback($callbackString, $value)
163 166
     {
164 167
         if (function_exists($callbackString)) {
@@ -199,7 +202,7 @@  discard block
 block discarded – undo
199 202
 
200 203
     /**
201 204
      * @param \SimpleXMLElement $structure The object representing the merged configuration structure
202
-     * @param \SimpleXmlElement $config An empty config object to be populated
205
+     * @param ConfigInterface $config An empty config object to be populated
203 206
      * @param string $context The name of the context
204 207
      * @return ConfigurationRepository The resulting configuration object
205 208
      */
Please login to merge, or discard this patch.
lib/Config/Repository/ConfigInterface.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 interface ConfigInterface
6 6
 {
7 7
 
8
-     const ALLOWED_TRUES = [
8
+        const ALLOWED_TRUES = [
9 9
         true, 'true', 1, '1', 'on', 'yes'
10 10
     ];
11 11
 
Please login to merge, or discard this patch.