Skip to content

Conversation

AhmedAlaa4611
Copy link
Contributor

Description

The is_array check (newly introduced in #56703) is redundant since the existing foreach already works with both arrays and other iterables. So, we don’t need the special case.

@taylorotwell
Copy link
Member

I'll just leave it for now.

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