zendframework/zf2 — pull request #4154 by mvriel (2013-03-30 18:02:37+00:00)
Title: Catch LogicException for Rewind and fix CP errors

The rewind method is, as the valid() method, affected by an issue
with the GlobIterator where it throws a LogicException if the dataset
is empty (https://bugs.php.net/bug.php?id=55701).

This exception should be caught and correctly returned as this will
interfere with foreach statements at the invoker.

In addition to the above have several copy-paste errors in the
DocBlocks been fixed.