@@ -23,7 +23,7 @@ discard block |
||
| 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 |
||
| 64 | 64 | } |
| 65 | 65 | public function next() |
| 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() |
@@ -36,8 +36,7 @@ discard block |
||
| 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 |
||
| 75 | 74 | } |
| 76 | 75 | public function next() |
| 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() |