@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | $this->connection = $connection; |
| 57 | 57 | $this->grammar = $grammar ?: $connection->getQueryGrammar(); |
| 58 | 58 | $this->processor = $processor ?: $connection->getPostProcessor(); |
| 59 | - if (! $aqb instanceof QueryBuilder) { |
|
| 59 | + if (!$aqb instanceof QueryBuilder) { |
|
| 60 | 60 | $aqb = new QueryBuilder(); |
| 61 | 61 | } |
| 62 | 62 | $this->aqb = $aqb; |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | */ |
| 144 | 144 | public function get($columns = ['*']) |
| 145 | 145 | { |
| 146 | - $results = collect($this->onceWithColumns(Arr::wrap($columns), function () { |
|
| 146 | + $results = collect($this->onceWithColumns(Arr::wrap($columns), function() { |
|
| 147 | 147 | return $this->runSelect(); |
| 148 | 148 | })); |
| 149 | 149 | |
@@ -203,7 +203,7 @@ discard block |
||
| 203 | 203 | |
| 204 | 204 | $this->aqb = new QueryBuilder(); |
| 205 | 205 | |
| 206 | - if (! $results->isEmpty()) { |
|
| 206 | + if (!$results->isEmpty()) { |
|
| 207 | 207 | return array_change_key_case((array) $results[0])['aggregate']; |
| 208 | 208 | } |
| 209 | 209 | |
@@ -278,7 +278,7 @@ discard block |
||
| 278 | 278 | 'type', 'column', 'operator', 'value', 'boolean' |
| 279 | 279 | ); |
| 280 | 280 | |
| 281 | - if (! $value instanceof Expression) { |
|
| 281 | + if (!$value instanceof Expression) { |
|
| 282 | 282 | $this->addBinding($value, 'where'); |
| 283 | 283 | } |
| 284 | 284 | |
@@ -314,8 +314,8 @@ discard block |
||
| 314 | 314 | */ |
| 315 | 315 | protected function invalidOperator($operator) |
| 316 | 316 | { |
| 317 | - return ! in_array(strtolower($operator), $this->operators, true) && |
|
| 318 | - ! isset($this->grammar->getOperators()[strtolower($operator)]); |
|
| 317 | + return !in_array(strtolower($operator), $this->operators, true) && |
|
| 318 | + !isset($this->grammar->getOperators()[strtolower($operator)]); |
|
| 319 | 319 | } |
| 320 | 320 | |
| 321 | 321 | /** |