You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Psalm output (using commit 7428e49):
ERROR: MethodSignatureMismatch - 3:7 - Argument 1 of DateTimeImmutable::__unserialize has wrong type 'mixed', expecting 'array<array-key, mixed>' as defined by DateTimeInterface::__unserialize
When extending
DateTimeImmutable
, psalm throws an error that the parameter types for__unserialize()
to not matchDateTimeInterface
.I could not find any stubs defining this so assume the internal reflection is getting the wrong type?
https://psalm.dev/r/7d3e818a02
The text was updated successfully, but these errors were encountered: