Skip to content

Commit

Permalink
Merge branch '4.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
whatthejeff committed Aug 30, 2014
2 parents f608785 + c62a643 commit ff6e1d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Framework/Constraint/Count.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ protected function getCountOf($other)
// moves pointer
if ($key !== null) {
$iterator->rewind();
while ($key !== $iterator->key()) {
while ($iterator->valid() && $key !== $iterator->key()) {
$iterator->next();
}
}
Expand Down

0 comments on commit ff6e1d4

Please sign in to comment.