Passed
Push — master ( 0dbe95...e58ec5 )
by Prateek
10:08 queued 06:33
created
src/Models/Module.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,8 +100,9 @@
 block discarded – undo
100 100
         foreach ($moduleStructure as $columnName => $columnOptions) {
101 101
             $column = TypeResolver::getType($this->name, $columnName, $columnOptions);
102 102
             $this->columnsData[$columnName] = $column;
103
-            if ($column->isDisplay())
104
-                $this->displayColumns[] = $column;
103
+            if ($column->isDisplay()) {
104
+                            $this->displayColumns[] = $column;
105
+            }
105 106
         }
106 107
 
107 108
         if (sizeof($this->displayColumns) == 0) {
Please login to merge, or discard this patch.