Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Catch LogicException for Rewind and fix CP errors #4154

Closed
wants to merge 1 commit into from

Commits on Mar 30, 2013

  1. 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.
    mvriel committed Mar 30, 2013
    Copy the full SHA
    bf89533 View commit details
    Browse the repository at this point in the history