Skip to content

Conversation

norberttech
Copy link
Member

Unbounded array pattern added by @K-Phoen was not working with arrays built from objects.
Failing example:

    array(
        '[{"name": "Norbert"},{"name":"Michał"},{"name":"Bob"},{"name":"Martin"}]', // value
        '[{"name": "Norbert"},@...@]' // pattern
    ),

This PR fix this small issue and simplify iterateMatch method in ArrayMatcher.

@norberttech
Copy link
Member Author

ping @defrag

defrag added a commit that referenced this pull request Jun 22, 2014
Fixed unbouded array to work with objects & iterateMatch matehod refactoring
@defrag defrag merged commit 58a6348 into coduo:master Jun 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants