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.8] Fix Invalid argument supplied #27709

Closed
wants to merge 1 commit into from
Closed

[5.8] Fix Invalid argument supplied #27709

wants to merge 1 commit into from

Conversation

setkyar
Copy link

@setkyar setkyar commented Feb 28, 2019

Return function if the value is null instead of looping. Base on this (PR comment](laravel/docs#5023)

Return function if the value is `null` instead of looping. Base on this (PR comment](laravel/docs#5023)
@driesvints
Copy link
Member

I've already sent in a pr to fix the array behavior. You shouldn't return null since it's not a valid return type.

#27710

@driesvints driesvints closed this Feb 28, 2019
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