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.5] allow before and after to work with integers #20049

Merged
merged 1 commit into from
Jul 13, 2017
Merged

[5.5] allow before and after to work with integers #20049

merged 1 commit into from
Jul 13, 2017

Conversation

browner12
Copy link
Contributor

we need to do a strict comparison, because if the user passes an integer this will not function correctly.

while it would be great if people only pass strings to this function, I can imagine people passing integers. with the strict check, everything still works correctly with the strings, but this will just catch that rare occasion that someone passes an integer 0 in.

we need to do a strict comparison, because if the user passes an integer this will not function correctly.
@taylorotwell taylorotwell merged commit 1e4f189 into laravel:master Jul 13, 2017
@browner12 browner12 deleted the master branch July 13, 2017 20:37
@browner12 browner12 restored the master branch July 13, 2017 20:37
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