@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | public 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'])) { |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | } |
155 | 155 | } |
156 | 156 | |
157 | - if(false === class_exists($class)){ |
|
157 | + if (false === class_exists($class)) { |
|
158 | 158 | return false; |
159 | 159 | } |
160 | 160 | |
@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | */ |
216 | 216 | private static function getFromDICParams($parameter) |
217 | 217 | { |
218 | - if(is_string($parameter)){ |
|
218 | + if (is_string($parameter)) { |
|
219 | 219 | $key = trim($parameter, '%'); |
220 | 220 | |
221 | 221 | return (DICParams::has($key)) ? DICParams::get($key) : $parameter; |