Completed
Push — master ( 356601...b2b7ae )
by Arjay
08:01
created
src/Engines/BaseEngine.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -315,7 +315,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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 {
Please login to merge, or discard this patch.