We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | */ |
100 | 100 | public function customOrderBy($column, $columnDirection = 'asc') |
101 | 101 | { |
102 | - if (! isset($column['orderLogic'])) { |
|
102 | + if (!isset($column['orderLogic'])) { |
|
103 | 103 | return $this->query; |
104 | 104 | } |
105 | 105 | |
@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | */ |
190 | 190 | public function getTotalQueryCount() |
191 | 191 | { |
192 | - if (! $this->getOperationSetting('showEntryCount')) { |
|
192 | + if (!$this->getOperationSetting('showEntryCount')) { |
|
193 | 193 | return 0; |
194 | 194 | } |
195 | 195 | |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | */ |
229 | 229 | private function getCountFromQuery(Builder $query) |
230 | 230 | { |
231 | - if (! $this->driverIsSql()) { |
|
231 | + if (!$this->driverIsSql()) { |
|
232 | 232 | return $query->count(); |
233 | 233 | } |
234 | 234 | |
@@ -248,7 +248,7 @@ discard block |
||
248 | 248 | // - orders/limit/offset because we want the "full query count" where orders don't matter and limit/offset would break the total count |
249 | 249 | $subQuery = $crudQuery->cloneWithout(['columns', 'orders', 'limit', 'offset']); |
250 | 250 | |
251 | - $outerQuery = $outerQuery->fromSub($subQuery->select($modelTable.'.'.$this->model->getKeyName()), str_replace('.','_',$modelTable).'_aggregator'); |
|
251 | + $outerQuery = $outerQuery->fromSub($subQuery->select($modelTable.'.'.$this->model->getKeyName()), str_replace('.', '_', $modelTable).'_aggregator'); |
|
252 | 252 | |
253 | 253 | return $outerQuery->cursor()->first()->total_rows; |
254 | 254 | } |