@@ -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; |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | */ |
124 | 124 | public function get($columns = ['*']) |
125 | 125 | { |
126 | - $results = collect($this->onceWithColumns(Arr::wrap($columns), function () { |
|
126 | + $results = collect($this->onceWithColumns(Arr::wrap($columns), function() { |
|
127 | 127 | return $this->runSelect(); |
128 | 128 | })); |
129 | 129 | |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | ->setAggregate($function, $columns) |
182 | 182 | ->get($columns); |
183 | 183 | |
184 | - if (! $results->isEmpty()) { |
|
184 | + if (!$results->isEmpty()) { |
|
185 | 185 | return array_change_key_case((array) $results[0])['aggregate']; |
186 | 186 | } |
187 | 187 | |
@@ -254,7 +254,7 @@ discard block |
||
254 | 254 | 'type', 'column', 'operator', 'value', 'boolean' |
255 | 255 | ); |
256 | 256 | |
257 | - if (! $value instanceof Expression) { |
|
257 | + if (!$value instanceof Expression) { |
|
258 | 258 | $this->addBinding($value, 'where'); |
259 | 259 | } |
260 | 260 | |
@@ -290,8 +290,8 @@ discard block |
||
290 | 290 | */ |
291 | 291 | protected function invalidOperator($operator) |
292 | 292 | { |
293 | - return ! in_array(strtolower($operator), $this->operators, true) && |
|
294 | - ! isset($this->grammar->getOperators()[strtolower($operator)]); |
|
293 | + return !in_array(strtolower($operator), $this->operators, true) && |
|
294 | + !isset($this->grammar->getOperators()[strtolower($operator)]); |
|
295 | 295 | } |
296 | 296 | |
297 | 297 | /** |