Assert::true should behave the same as native assert()
simPod opened this issue · 2 comments
simPod commented
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
ok it's something else
github-actions commented
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.