Skip to content

Commit

Permalink
Minor improvement to test/bootstrap.php
Browse files Browse the repository at this point in the history
  • Loading branch information
treffynnon committed Aug 30, 2013
1 parent 98a3f0b commit 1f1f3bf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ public function fetch($fetch_style=PDO::FETCH_BOTH, $cursor_orientation=PDO::FET
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);
}
}
}
Expand Down

0 comments on commit 1f1f3bf

Please # to comment.