Passed
Push — master ( 514957...3f0f4d )
by Mauro
02:14
created
src/DIC.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.