Passed
Push — CHECK_API ( 78ffdd...fa4f39 )
by Rafael
41:29
created
Dolibarr/Core/Base/DolibarrApi.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -240,8 +240,9 @@
 block discarded – undo
240 240
     public static function getModule($moduleName, $className)
241 241
     {
242 242
         $namespace = static::getModuleNamespace($moduleName, $className);
243
-        if (!is_dir)
244
-            dump(['namespace' => $namespace]);
243
+        if (!is_dir) {
244
+                    dump(['namespace' => $namespace]);
245
+        }
245 246
 
246 247
         return new $namespace();
247 248
     }
Please login to merge, or discard this patch.