Skip to content
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.

Remove unneeded reset() in ResourceIteratorTest #20

Merged
merged 1 commit into from
Apr 9, 2014

Conversation

fredemmott
Copy link
Contributor

  • it's plain unneeded - foreach calls rewind() on the iterator anyway
  • as it's not an ArrayIterator or array, it actually doesn't call rewind() - it resets the array pointer for the internal property list
  • This is a known wontfix HHVM incompatibility

@fredemmott
Copy link
Contributor Author

refs guzzle/guzzle#538

mtdowling added a commit that referenced this pull request Apr 9, 2014
Remove unneeded reset() in ResourceIteratorTest
@mtdowling mtdowling merged commit 840683b into guzzle:master Apr 9, 2014
@mtdowling
Copy link
Member

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants