Passed
Pull Request — master (#1108)
by Iman
04:18
created
src/Modules/ModuleGenerator/ScaffoldingParser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@
 block discarded – undo
9 9
         $colsItem = self::extractLines($code, $type);
10 10
 
11 11
         foreach ($colsItem as &$item) {
12
-            $item = str_replace(' ','', $item);
13
-            $item = str_replace('\',]',']', $item);
12
+            $item = str_replace(' ', '', $item);
13
+            $item = str_replace('\',]', ']', $item);
14 14
             $item = trim($item);
15 15
             $item = trim($item, '[');
16 16
             $item = trim($item, '];');
Please login to merge, or discard this patch.
src/Modules/ModuleGenerator/Step2Handler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
         $columnScript[] = '            $this->col[] = [];';
62 62
         foreach ($labels as $i => $label) {
63 63
 
64
-            if (! $name[$i]) {
64
+            if (!$name[$i]) {
65 65
                 continue;
66 66
             }
67 67
 
Please login to merge, or discard this patch.