@@ -99,8 +99,7 @@ |
||
| 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 | } |
@@ -72,7 +72,7 @@ |
||
| 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; |
@@ -136,8 +136,7 @@ |
||
| 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 | } |