phpstan/phpstan-webmozart-assert

Assert::true should behave the same as native assert()

simPod opened this issue · 2 comments

Phpstan does not understand that Assert::true($var === 'x') means the $var is of type 'x' while with assert($var === 'x') it does.

The behaviour should be the same.

ok it's something else

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.