zendframework / zend-stdlib

Stdlib component from Zend Framework
BSD 3-Clause "New" or "Revised" License
384 stars 76 forks source link

Do not raise error on rewind #23

Closed weierophinney closed 9 years ago

weierophinney commented 9 years ago

Demonstrates an E_WARNING raised in rewind() when the queue is empty, and provides a fix.

Discovered when testing develop branch against Apigility.