@@ -268,7 +268,7 @@ discard block |
||
| 268 | 268 | foreach ($joins as $join) { |
| 269 | 269 | $table = preg_split('/ as /i', $join->table); |
| 270 | 270 | $names[] = $table[0]; |
| 271 | - if (isset($table[1]) && ! empty($databasePrefix) && strpos($table[1], $databasePrefix) == 0) { |
|
| 271 | + if (isset($table[1]) && !empty($databasePrefix) && strpos($table[1], $databasePrefix) == 0) { |
|
| 272 | 272 | $names[] = preg_replace('/^' . $databasePrefix . '/', '', $table[1]); |
| 273 | 273 | } |
| 274 | 274 | } |
@@ -284,7 +284,7 @@ discard block |
||
| 284 | 284 | */ |
| 285 | 285 | public function getQueryBuilder($instance = null) |
| 286 | 286 | { |
| 287 | - if (! $instance) { |
|
| 287 | + if (!$instance) { |
|
| 288 | 288 | $instance = $this->query; |
| 289 | 289 | } |
| 290 | 290 | |
@@ -539,7 +539,7 @@ discard block |
||
| 539 | 539 | $this->totalRecords = $this->totalCount(); |
| 540 | 540 | |
| 541 | 541 | if ($this->totalRecords) { |
| 542 | - $this->orderRecords(! $orderFirst); |
|
| 542 | + $this->orderRecords(!$orderFirst); |
|
| 543 | 543 | $this->filterRecords(); |
| 544 | 544 | $this->orderRecords($orderFirst); |
| 545 | 545 | $this->paginate(); |
@@ -556,7 +556,7 @@ discard block |
||
| 556 | 556 | */ |
| 557 | 557 | public function orderRecords($skip) |
| 558 | 558 | { |
| 559 | - if (! $skip) { |
|
| 559 | + if (!$skip) { |
|
| 560 | 560 | $this->ordering(); |
| 561 | 561 | } |
| 562 | 562 | } |
@@ -838,7 +838,7 @@ discard block |
||
| 838 | 838 | { |
| 839 | 839 | $matches = explode(' as ', Str::lower($str)); |
| 840 | 840 | |
| 841 | - if (! empty($matches)) { |
|
| 841 | + if (!empty($matches)) { |
|
| 842 | 842 | if ($wantsAlias) { |
| 843 | 843 | return array_pop($matches); |
| 844 | 844 | } else { |