Passed
Push — master ( 3be567...10f746 )
by Ferry
03:51
created
src/commands/Generate.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,12 +32,12 @@
 block discarded – undo
32 32
     {
33 33
         $this->info($this->description);
34 34
         $option = $this->option("module");
35
-        if($option == "ALL") {
35
+        if ($option == "ALL") {
36 36
             $tables = DB::connection()->getDoctrineSchemaManager()->listTableNames();
37
-            foreach($tables as $table) {
37
+            foreach ($tables as $table) {
38 38
                 $this->generate($table);
39 39
             }
40
-        }else{
40
+        } else {
41 41
             $this->generate($option);
42 42
         }
43 43
     }
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
             foreach($tables as $table) {
38 38
                 $this->generate($table);
39 39
             }
40
-        }else{
40
+        } else{
41 41
             $this->generate($option);
42 42
         }
43 43
     }
Please login to merge, or discard this patch.