Completed
Push — master ( acf079...5e69a5 )
by Ivan
20:38 queued 05:34
created
src/driver/oracle/Result.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     }
24 24
     public function affected() : int
25 25
     {
26
-        return (int)\oci_num_rows($this->statement);
26
+        return (int) \oci_num_rows($this->statement);
27 27
     }
28 28
     public function insertID(string $sequence = null)
29 29
     {
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     }
65 65
     public function next(): void
66 66
     {
67
-        $this->fetched ++;
67
+        $this->fetched++;
68 68
         $this->last = \oci_fetch_array($this->statement, \OCI_ASSOC + \OCI_RETURN_NULLS + \OCI_RETURN_LOBS);
69 69
     }
70 70
     public function valid(): bool
Please login to merge, or discard this patch.
src/driver/odbc/Result.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
     }
79 79
     public function next(): void
80 80
     {
81
-        $this->fetched ++;
81
+        $this->fetched++;
82 82
         $temp = \odbc_fetch_row($this->statement);
83 83
         if (!$temp) {
84 84
             $this->last = false;
Please login to merge, or discard this patch.
src/driver/postgre/Result.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,8 +36,7 @@  discard block
 block discarded – undo
36 36
             $temp = @\pg_query(
37 37
                 $this->driver,
38 38
                 $sequence ?
39
-                    'SELECT currval('.@\pg_escape_string($this->driver, $sequence).')' :
40
-                    'SELECT lastval()'
39
+                    'SELECT currval('.@\pg_escape_string($this->driver, $sequence).')' : 'SELECT lastval()'
41 40
             );
42 41
             if ($temp) {
43 42
                 $res = \pg_fetch_row($temp);
@@ -75,7 +74,7 @@  discard block
 block discarded – undo
75 74
     }
76 75
     public function next(): void
77 76
     {
78
-        $this->fetched ++;
77
+        $this->fetched++;
79 78
         $this->last = \pg_fetch_array($this->statement, null, \PGSQL_ASSOC);
80 79
     }
81 80
     public function valid(): bool
Please login to merge, or discard this patch.
src/driver/sqlite/Result.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
     }
62 62
     public function next(): void
63 63
     {
64
-        $this->fetched ++;
64
+        $this->fetched++;
65 65
         $this->last = $this->statement->fetchArray(\SQLITE3_ASSOC);
66 66
     }
67 67
     public function valid(): bool
Please login to merge, or discard this patch.
src/driver/sphinx/Result.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     }
59 59
     public function next(): void
60 60
     {
61
-        $this->fetched ++;
61
+        $this->fetched++;
62 62
         $this->last = $this->result->fetch_assoc();
63 63
     }
64 64
     public function valid(): bool
Please login to merge, or discard this patch.
src/driver/ibase/Result.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
     }
68 68
     public function next(): void
69 69
     {
70
-        $this->fetched ++;
70
+        $this->fetched++;
71 71
         $this->last = \ibase_fetch_assoc($this->result, \IBASE_TEXT);
72 72
     }
73 73
     public function valid(): bool
Please login to merge, or discard this patch.
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()
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.