Assert::minLength($s, 1) should assert type to non-empty-string
simPod opened this issue · 2 comments
simPod commented
This check is used to assert non-empty-string.
Assert::minLength($value, 1);phpstan considers it as a string only.
ondrejmirtes commented
Hi, please send a PR, if you check some recent commits I'm sure you're gonna figure out how to implement it :)
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.