Skip to content

Conversation

@dmongeau
Copy link
Contributor

@dmongeau dmongeau commented Aug 9, 2015

To allow the use of a class implementing the ArrayAccess interface.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically, we need to check for Traversable interface here, not ArrayAccess, because all we do later is iterating $result in foreach loop.

Will merge this pull request if you change it to Traversable.

@dmongeau
Copy link
Contributor Author

dmongeau commented Aug 9, 2015

Yes, updated!

vladar added a commit that referenced this pull request Aug 10, 2015
Check ListOfType result is an instance of Traversable instead of ArrayObject
@vladar vladar merged commit 04b2e40 into webonyx:master Aug 10, 2015
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