@@ -31,7 +31,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
@@ -55,7 +55,7 @@ |
||
| 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 |