Skip to content

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

Merged
taylorotwell merged 1 commit into
laravel:11.xfrom
calebdw:qualify_timestamps
Feb 12, 2025
Merged

[11.x] fix: getQualified{Created,Updated}AtColumn never returning null#54568
taylorotwell merged 1 commit into
laravel:11.xfrom
calebdw:qualify_timestamps

Conversation

@calebdw

@calebdw calebdw commented Feb 11, 2025

Copy link
Copy Markdown
Contributor

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!

@taylorotwell
taylorotwell merged commit b4f11a9 into laravel:11.x Feb 12, 2025
@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.

2 participants