Passed
Branch scrutinizer (bf4a15)
by Teye
04:59
created
src/Concerns/HasHaving.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -99,8 +99,7 @@
 block discarded – undo
99 99
         }
100 100
 
101 101
         strtolower($boolean) == 'and' ?
102
-            $this->addAndHaving($having) :
103
-            $this->addOrHaving($having);
102
+            $this->addAndHaving($having) : $this->addOrHaving($having);
104 103
 
105 104
         return $this;
106 105
     }
Please login to merge, or discard this patch.
examples/helpers/ConsoleTable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
         foreach ($data as $i => $row) {
73 73
             $table .= '| ';
74 74
 
75
-            foreach( $this->columns as $column => $length ) {
75
+            foreach ($this->columns as $column => $length) {
76 76
                 $table .= str_pad((string)($row[$column] ?? ''), $length) . ' | ';
77 77
             }
78 78
             $table .= PHP_EOL;
Please login to merge, or discard this patch.
src/Concerns/HasFilter.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -136,8 +136,7 @@
 block discarded – undo
136 136
         }
137 137
 
138 138
         strtolower($boolean) == 'and' ?
139
-            $this->addAndFilter($filter) :
140
-            $this->addOrFilter($filter);
139
+            $this->addAndFilter($filter) : $this->addOrFilter($filter);
141 140
 
142 141
         return $this;
143 142
     }
Please login to merge, or discard this patch.