We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Optional array values are seemingly required.
Array with only one optional value: https://phpstan.org/r/8473da76-2e56-4c54-8c95-759431dbdfde
Array with a required and an optional value: https://phpstan.org/r/34641f8c-a839-43d2-a2ea-bf87638c24cc
An array shape with optional values may have them missing.
The text was updated successfully, but these errors were encountered:
phpstan/phpstan-src@5de358a
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.
Sorry, something went wrong.
No branches or pull requests
Bug report
Optional array values are seemingly required.
Code snippet that reproduces the problem
Array with only one optional value: https://phpstan.org/r/8473da76-2e56-4c54-8c95-759431dbdfde
Array with a required and an optional value: https://phpstan.org/r/34641f8c-a839-43d2-a2ea-bf87638c24cc
Expected output
An array shape with optional values may have them missing.
The text was updated successfully, but these errors were encountered: