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

Fix check for Traversable in TranslatorAwareTreeRouteStack->factory() #10

Closed
wants to merge 1 commit into from

Conversation

TysonAndre
Copy link
Contributor

Previously, this always returned false. See https://3v4l.org/YgpKg
This was detected by etsy/phan, and may or may not affect real code. iterator_to_array() preserves keys.
Some classes implement Traversable but not ArrayAccess, so I'm leaving this check in.

Previously, this always returned false. See https://3v4l.org/YgpKg
This was detected by etsy/phan, and may or may not affect real code. iterator_to_array() preserves keys.
Some classes implement Traversable but not ArrayAccess.
weierophinney added a commit that referenced this pull request May 1, 2018
Fix check for Traversable in TranslatorAwareTreeRouteStack->factory()
weierophinney added a commit that referenced this pull request May 1, 2018
weierophinney added a commit that referenced this pull request May 1, 2018
@weierophinney
Copy link
Member

Thanks, @TysonAndre

@weierophinney
Copy link
Member

Merged to develop for release with 1.1.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants