Passed
Push — main ( 801478...8bafc7 )
by Sammy
03:16 queued 01:37
created
LeMarchand.php 1 patch
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -49,13 +49,13 @@
 block discarded – undo
49 49
         if(preg_match('/^settings\./', $configuration, $m) === 1)
50 50
         {
51 51
           return $this->get_settings($configuration);
52
-        }
53
-        elseif(preg_match('/.+Controller$/', $configuration, $m) === 1)
52
+        } elseif(preg_match('/.+Controller$/', $configuration, $m) === 1)
54 53
         {
55 54
           foreach($this->get_settings('settings.controllers_namespaces') as $controller_namespace)
56 55
           {
57
-            if(class_exists($controller_namespace.$configuration))
58
-              return $this->get_instance($controller_namespace.$configuration);
56
+            if(class_exists($controller_namespace.$configuration)) {
57
+                          return $this->get_instance($controller_namespace.$configuration);
58
+            }
59 59
           }
60 60
         }
61 61
 
Please login to merge, or discard this patch.