@@ -16,6 +16,6 @@ |
||
| 16 | 16 | throw new \Exception('SimpleXML extension is not loaded. Add "ext-simplexml": "*" to your composer.json.'); |
| 17 | 17 | } |
| 18 | 18 | |
| 19 | - return json_decode(json_encode(simplexml_load_file($filename)),true); |
|
| 19 | + return json_decode(json_encode(simplexml_load_file($filename)), true); |
|
| 20 | 20 | } |
| 21 | 21 | } |
@@ -119,7 +119,7 @@ |
||
| 119 | 119 | public static function set($key, $content) |
| 120 | 120 | { |
| 121 | 121 | if (false === self::has($key)) { |
| 122 | - self::$container[$key] = function ($c) use ($content) { |
|
| 122 | + self::$container[$key] = function($c) use ($content) { |
|
| 123 | 123 | |
| 124 | 124 | // if is not a class set the entry value in DIC |
| 125 | 125 | if (false === isset($content['class'])) { |