New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong assumption on array merge #5169
Comments
PHPStan's error is expected, see: https://3v4l.org/QipVB You need more specific PHPDocs telling what's in |
I realized what actually changed it, just a moment. |
But it doesn't change you should actually fix your code :) But I'll make PHPStan stop reporting this. |
Fixed: phpstan/phpstan-src@2abb92e |
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. |
Bug report
Code snippet that reproduces the problem
https://phpstan.org/r/86239cd8-0802-4070-8bdf-b773187103ee
Expected output
no issue as long as we do not document this any further, just as before.
This didn't error a few patches before. So this looks like a too strict regression of sorts.
The text was updated successfully, but these errors were encountered: