@@ -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 | } |
@@ -860,7 +860,7 @@ discard block |
||
| 860 | 860 | */ |
| 861 | 861 | protected function wildcardLikeString($str, $lowercase = true) |
| 862 | 862 | { |
| 863 | - $wild = '%'; |
|
| 863 | + $wild = '%'; |
|
| 864 | 864 | $chars = preg_split('//u', $str, -1, PREG_SPLIT_NO_EMPTY); |
| 865 | 865 | |
| 866 | 866 | if (count($chars) > 0) { |
@@ -981,7 +981,7 @@ discard block |
||
| 981 | 981 | { |
| 982 | 982 | $matches = explode(' as ', Str::lower($str)); |
| 983 | 983 | |
| 984 | - if (! empty($matches)) { |
|
| 984 | + if (!empty($matches)) { |
|
| 985 | 985 | if ($wantsAlias) { |
| 986 | 986 | return array_pop($matches); |
| 987 | 987 | } else { |