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

Once Remember Null Values #53949

Merged
merged 1 commit into from
Dec 17, 2024
Merged

Conversation

dbpolito
Copy link
Contributor

Currently due to the nature of isset(), it returns false for keys with null values, this PR changes to use array_key_exists() so it remembers null results.

I did some research if this was by design or someone faced this before, i found this #52060 (comment) , which is basically what we have on this PR.

@taylorotwell taylorotwell merged commit aec8ad4 into laravel:11.x Dec 17, 2024
40 checks passed
@dbpolito dbpolito deleted the once_null_values branch December 17, 2024 20:48
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