Skip to content
Discussion options

You must be logged in to vote

The issue comes from Carbon. Carbon::parse('') returns now.

https://play.phpsandbox.io/nesbot/carbon

This is why I never cast anything and use anything that comes from db as string, int or null

Replies: 7 comments 10 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@nabilhassen
Comment options

@Tofandel
Comment options

@nabilhassen
Comment options

@ghost
Comment options

@Tofandel
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by nabilhassen
Comment options

You must be logged in to vote
4 replies
@nabilhassen
Comment options

@wizzymore
Comment options

@ghost
Comment options

@wizzymore
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #51500 on May 20, 2024 00:52.