From 1f1f3bf79d75f126845db2744b78be404c2abd08 Mon Sep 17 00:00:00 2001 From: Simon Holywell Date: Fri, 30 Aug 2013 11:30:04 +0100 Subject: Minor improvement to test/bootstrap.php --- test/bootstrap.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/bootstrap.php') 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); } } } -- cgit v1.2.3