@@ -27,10 +27,10 @@ |
||
| 27 | 27 | |
| 28 | 28 | $parser = self::getParser($ext); |
| 29 | 29 | |
| 30 | - try{ |
|
| 30 | + try { |
|
| 31 | 31 | return $parser->parse($filename); |
| 32 | - } catch (\Exception $e){ |
|
| 33 | - throw new ParserException($filename . ' cannot be parsed [' . $ext . ' driver used]' ); |
|
| 32 | + } catch (\Exception $e) { |
|
| 33 | + throw new ParserException($filename . ' cannot be parsed [' . $ext . ' driver used]'); |
|
| 34 | 34 | } |
| 35 | 35 | } |
| 36 | 36 | |
@@ -117,7 +117,7 @@ |
||
| 117 | 117 | private static function set($key, $content) |
| 118 | 118 | { |
| 119 | 119 | if (false === self::has($key)) { |
| 120 | - self::$container[$key] = function ($c) use ($content) { |
|
| 120 | + self::$container[$key] = function($c) use ($content) { |
|
| 121 | 121 | |
| 122 | 122 | // if is not a class set the entry value in DIC |
| 123 | 123 | if (false === isset($content['class'])) { |