Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.6] remove unnecessary foreach from is() method #24872

Merged
merged 1 commit into from
Jul 17, 2018
Merged

[5.6] remove unnecessary foreach from is() method #24872

merged 1 commit into from
Jul 17, 2018

Conversation

fmwww
Copy link
Contributor

@fmwww fmwww commented Jul 17, 2018

Str::is() method is already contains foreach, request is() method no need to foreach again.

@fmwww fmwww changed the title remove unnecessary foreach from is() method [5.6]remove unnecessary foreach from is() method Jul 17, 2018
@fmwww fmwww changed the title [5.6]remove unnecessary foreach from is() method [5.6] remove unnecessary foreach from is() method Jul 17, 2018
@taylorotwell taylorotwell merged commit 57d7b1f into laravel:5.6 Jul 17, 2018
@browner12 browner12 mentioned this pull request Jul 18, 2018
@browner12
Copy link
Contributor

added PR to revert this BC break #24885

taylorotwell pushed a commit that referenced this pull request Jul 19, 2018
@fmwww
Copy link
Contributor Author

fmwww commented Jul 19, 2018

oh,I didn't noticed this situation.Thanks for telling me. @browner12

@browner12
Copy link
Contributor

no problem. definitely an easy thing to miss, since passing an array through really wasn't the intended usage.

I think this is still a good idea for 5.7 with a note in the upgrade guide. Let me know if you want to send that through, otherwise I can do it as well.

@fmwww
Copy link
Contributor Author

fmwww commented Jul 19, 2018

ok. you just do it.

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.

None yet

3 participants