Completed
Push — master ( 54239d...726c6a )
by Ivan
11:26
created
src/driver/mysql/Result.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
                 if ($temp) {
32 32
                     $temp = $temp->fetch_fields();
33 33
                     if ($temp) {
34
-                        $columns = array_map(function ($v) {
34
+                        $columns = array_map(function($v) {
35 35
                             return $v->name;
36 36
                         }, $temp);
37 37
                     }
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     }
75 75
     public function current(): mixed
76 76
     {
77
-        return $this->nativeDriver ? $this->last : array_map(function ($v) {
77
+        return $this->nativeDriver ? $this->last : array_map(function($v) {
78 78
             return $v;
79 79
         }, $this->row);
80 80
     }
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
     }
94 94
     public function next(): void
95 95
     {
96
-        $this->fetched ++;
96
+        $this->fetched++;
97 97
         $this->last = $this->nativeDriver ? $this->result->fetch_assoc() : $this->statement->fetch();
98 98
     }
99 99
     public function valid(): bool
Please login to merge, or discard this patch.
src/driver/pdo/Result.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
     }
56 56
     public function next(): void
57 57
     {
58
-        $this->fetched ++;
58
+        $this->fetched++;
59 59
         $this->last = $this->statement->fetch(\PDO::FETCH_ASSOC);
60 60
     }
61 61
     public function valid(): bool
Please login to merge, or discard this patch.