@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | */ |
| 119 | 119 | public function get($columns = ['*']) |
| 120 | 120 | { |
| 121 | - $results = collect($this->onceWithColumns(Arr::wrap($columns), function () { |
|
| 121 | + $results = collect($this->onceWithColumns(Arr::wrap($columns), function() { |
|
| 122 | 122 | return $this->runSelect(); |
| 123 | 123 | })); |
| 124 | 124 | return $results; |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | */ |
| 133 | 133 | public function update(array $values) |
| 134 | 134 | { |
| 135 | - $response = $this->connection->update($this->grammar->compileUpdate($this, $values)->aqb); |
|
| 135 | + $response = $this->connection->update($this->grammar->compileUpdate($this, $values)->aqb); |
|
| 136 | 136 | $this->aqb = new QueryBuilder(); |
| 137 | 137 | return $response; |
| 138 | 138 | } |
@@ -172,7 +172,7 @@ discard block |
||
| 172 | 172 | $results = $this->cloneWithout($this->unions ? [] : ['columns']) |
| 173 | 173 | ->setAggregate($function, $columns) |
| 174 | 174 | ->get($columns); |
| 175 | - if (! $results->isEmpty()) { |
|
| 175 | + if (!$results->isEmpty()) { |
|
| 176 | 176 | return $results[0]; |
| 177 | 177 | } |
| 178 | 178 | return false; |