Minimal Reproduction Repo for bug with laminas code Steps Run composer install Run php vendor/bin/phpstan analyze --level 6 src/ Check the errors