Closed Gerhardt0011 closed 7 years ago
Thanks for the PR! I'll merge it and correct the code, the change should be on the function parameters.
I have replaced the first()
function with the traditional foreach
to be backward compatible. All tests passes using illuminate/support
v5.3.
It seems that for Laravel 5.3 the $key and $value needs to swap, else the package returns null from these methods.