diff options
author | Simon Holywell <[email protected]> | 2013-08-30 11:30:04 +0100 |
---|---|---|
committer | Simon Holywell <[email protected]> | 2013-08-30 11:30:04 +0100 |
commit | 1f1f3bf79d75f126845db2744b78be404c2abd08 (patch) | |
tree | 5b9429ba48f2d5bfd7a5523a568c31f878261c9b /test | |
parent | 98a3f0b713cad892ed59abd977aa40d4938f5656 (diff) |
Minor improvement to test/bootstrap.php
Diffstat (limited to 'test')
-rw-r--r-- | test/bootstrap.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/bootstrap.php b/test/bootstrap.php index c64d5a6..0e489bd 100644 --- a/test/bootstrap.php +++ b/test/bootstrap.php @@ -20,8 +20,7 @@ class MockPDOStatement extends PDOStatement { if ($this->current_row == 5) { return false; } else { - $this->current_row++; - return array('name' => 'Fred', 'age' => 10, 'id' => $this->current_row); + return array('name' => 'Fred', 'age' => 10, 'id' => ++$this->current_row); } } } |