@@ -16,6 +16,9 @@ |
||
| 16 | 16 | protected $fetched = -1; |
| 17 | 17 | protected $iid = null; |
| 18 | 18 | |
| 19 | + /** |
|
| 20 | + * @param resource $statement |
|
| 21 | + */ |
|
| 19 | 22 | public function __construct($statement, $data, $iid) |
| 20 | 23 | { |
| 21 | 24 | $this->statement = $statement; |
@@ -74,7 +74,7 @@ |
||
| 74 | 74 | } |
| 75 | 75 | public function next() |
| 76 | 76 | { |
| 77 | - $this->fetched ++; |
|
| 77 | + $this->fetched++; |
|
| 78 | 78 | $temp = \odbc_fetch_row($this->statement); |
| 79 | 79 | if (!$temp) { |
| 80 | 80 | $this->last = false; |