Passed
Branch master (972013)
by karam
08:54
created
src/BuildClasses/KMControllerBuilder.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,9 @@
 block discarded – undo
91 91
      */
92 92
     protected function classReplacer($option)
93 93
     {
94
-        if (!gettype($option) == 'array') $option = [$option];
94
+        if (!gettype($option) == 'array') {
95
+            $option = [$option];
96
+        }
95 97
         $this->paths = array_intersect_key($this->paths, $option);
96 98
         foreach ($option as $path => $classNameSpace) {
97 99
             $className = $this->getCLassName($classNameSpace);
Please login to merge, or discard this patch.