phpstan/phpstan-webmozart-assert

Assert::minLength($s, 1) should assert type to non-empty-string

simPod opened this issue · 2 comments

This check is used to assert non-empty-string.

Assert::minLength($value, 1);

phpstan considers it as a string only.

Hi, please send a PR, if you check some recent commits I'm sure you're gonna figure out how to implement it :)

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.