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

[11.x] fix: getQualified{Created,Updated}AtColumn never returning null #54568

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

calebdw
Copy link
Contributor

@calebdw calebdw commented Feb 11, 2025

Hello!

The getQualified{Created,Updated}AtColumn methods allow null as a return type, however, qualifyColumn always returns string---a malformed string is returned if one of the timestamp columns is null.

This checks for this case and properly returns null if needed.

Thanks!

Verified

This commit was signed with the committer’s verified signature.
calebdw Caleb White
@taylorotwell taylorotwell merged commit b4f11a9 into laravel:11.x Feb 12, 2025
46 checks passed
@calebdw calebdw deleted the qualify_timestamps branch February 12, 2025 16:19
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