@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | } |
| 102 | 102 | |
| 103 | 103 | /** |
| 104 | - * @param ConfigurationRepository|null $config |
|
| 104 | + * @param null|ConfigInterface $config |
|
| 105 | 105 | * @return ConfigurationRepository |
| 106 | 106 | * @throws InvalidConfigurationLocationException |
| 107 | 107 | * @throws InvalidFileException |
@@ -158,6 +158,9 @@ discard block |
||
| 158 | 158 | return $structure; |
| 159 | 159 | } |
| 160 | 160 | |
| 161 | + /** |
|
| 162 | + * @param string $callbackString |
|
| 163 | + */ |
|
| 161 | 164 | protected function executeCallback($callbackString, $value) |
| 162 | 165 | { |
| 163 | 166 | if (function_exists($callbackString)) { |
@@ -198,7 +201,8 @@ discard block |
||
| 198 | 201 | |
| 199 | 202 | /** |
| 200 | 203 | * @param \SimpleXMLElement $structure The object representing the merged configuration structure |
| 201 | - * @param \SimpleXmlElement $config An empty config object to be populated |
|
| 204 | + * @param ConfigInterface $config An empty config object to be populated |
|
| 205 | + * @param string $context |
|
| 202 | 206 | * @return ConfigurationRepository The resulting configuration object |
| 203 | 207 | */ |
| 204 | 208 | |
@@ -43,6 +43,9 @@ |
||
| 43 | 43 | return $this->container[$id]; |
| 44 | 44 | } |
| 45 | 45 | |
| 46 | + /** |
|
| 47 | + * @param string $type |
|
| 48 | + */ |
|
| 46 | 49 | public function newInstance($type) |
| 47 | 50 | { |
| 48 | 51 | $reflection = new \ReflectionClass($type); |