Open
Description
Hi,
Similar to how \assert(...)
works (https://phpstan.org/r/1a64fa56-fe04-47d5-a2ed-ef82e2206248), it would be nice if TypeInterface::assert
, TypeInterface::coerce
and TypeInterface::assert
emitted the same errors, alerting the developer to when Type
assertions are not necessary.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels