phpstan / phpstan-webmozart-assert

PHPStan extension for webmozart/assert
MIT License
165 stars 28 forks source link

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

Closed simPod closed 3 years ago

simPod commented 3 years ago

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.

simPod commented 3 years ago

ok it's something else

github-actions[bot] commented 3 years ago

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.