Completed
Push — master ( 671a14...1531d3 )
by Arjay
02:31
created
src/Engines/BaseEngine.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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 {
Please login to merge, or discard this patch.