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

Swapped and for Laravel 5.3 #1

Merged
merged 1 commit into from
Nov 12, 2016
Merged

Swapped and for Laravel 5.3 #1

merged 1 commit into from
Nov 12, 2016

Conversation

Gerhardt0011
Copy link

It seems that for Laravel 5.3 the $key and $value needs to swap, else the package returns null from these methods.

@gerardojbaez
Copy link
Owner

Thanks for the PR! I'll merge it and correct the code, the change should be on the function parameters.

@gerardojbaez gerardojbaez merged commit 2cdc814 into gerardojbaez:master Nov 12, 2016
@gerardojbaez
Copy link
Owner

I have replaced the first() function with the traditional foreach to be backward compatible. All tests passes using illuminate/support v5.3.

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

2 participants