Completed
Push — master ( 34cd5e...81adef )
by Arjay
02:27
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.
src/Processors/DataProcessor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
                 $row = $this->escapeRow($row);
219 219
             } else {
220 220
                 foreach ($this->escapeColumns as $key) {
221
-                    if (array_get($row, $key) && ! in_array($key, $this->rawColumns)) {
221
+                    if (array_get($row, $key) && !in_array($key, $this->rawColumns)) {
222 222
                         array_set($row, $key, e(array_get($row, $key)));
223 223
                     }
224 224
                 }
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
             if (is_array($value)) {
241 241
                 $row[$key] = $this->escapeRow($value);
242 242
             } else {
243
-                if (! in_array($key, $this->rawColumns)) {
243
+                if (!in_array($key, $this->rawColumns)) {
244 244
                     $row[$key] = e($value);
245 245
                 }
246 246
             }
Please login to merge, or discard this patch.