Post #606996
2026-03-04 20:12 UTC
Several times a week I tell people their problem can be solved by adding @phpstan-impure above their non-void function (or by setting rememberPossiblyImpureFunctionValues: false).
Finally, PHPStan will tell them by itself:
Replies (0)
No replies.