@@ -315,7 +315,7 @@ discard block |
||
| 315 | 315 | */ |
| 316 | 316 | public function getQueryBuilder($instance = null) |
| 317 | 317 | { |
| 318 | - if (! $instance) { |
|
| 318 | + if (!$instance) { |
|
| 319 | 319 | $instance = $this->query; |
| 320 | 320 | } |
| 321 | 321 | |
@@ -507,7 +507,7 @@ discard block |
||
| 507 | 507 | $this->totalRecords = $this->totalCount(); |
| 508 | 508 | |
| 509 | 509 | if ($this->totalRecords) { |
| 510 | - $this->orderRecords(! $orderFirst); |
|
| 510 | + $this->orderRecords(!$orderFirst); |
|
| 511 | 511 | $this->filterRecords(); |
| 512 | 512 | $this->orderRecords($orderFirst); |
| 513 | 513 | $this->paginate(); |
@@ -524,7 +524,7 @@ discard block |
||
| 524 | 524 | */ |
| 525 | 525 | protected function orderRecords($skip) |
| 526 | 526 | { |
| 527 | - if (! $skip) { |
|
| 527 | + if (!$skip) { |
|
| 528 | 528 | $this->ordering(); |
| 529 | 529 | } |
| 530 | 530 | } |
@@ -555,7 +555,7 @@ discard block |
||
| 555 | 555 | */ |
| 556 | 556 | protected function paginate() |
| 557 | 557 | { |
| 558 | - if ($this->request->isPaginationable() && ! $this->skipPaging) { |
|
| 558 | + if ($this->request->isPaginationable() && !$this->skipPaging) { |
|
| 559 | 559 | $this->paging(); |
| 560 | 560 | } |
| 561 | 561 | } |
@@ -979,7 +979,7 @@ discard block |
||
| 979 | 979 | { |
| 980 | 980 | $matches = explode(' as ', Str::lower($str)); |
| 981 | 981 | |
| 982 | - if (! empty($matches)) { |
|
| 982 | + if (!empty($matches)) { |
|
| 983 | 983 | if ($wantsAlias) { |
| 984 | 984 | return array_pop($matches); |
| 985 | 985 | } else { |