Narrow DateInterval->days after DateTimeInterface->diff()#5588
Conversation
|
//cc @stof |
VincentLanglet
left a comment
There was a problem hiding this comment.
The issue phpstan/phpstan#1452 is related.
I feel like we could update DateIntervalFormatDynamicReturnTypeExtension to conditionnally use the extra check #4442 (or not) based on the fact days is an int.
I am not sure I can follow. but it seems you have a concrete idea how/what to solve here. |
VincentLanglet
left a comment
There was a problem hiding this comment.
I'll do in the next PR then
|
thank you! |
closes phpstan/phpstan#14428