You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHPStan doesn't allow an empty array as default value for a function/method parameter, if the parameter is documented as having all its keys as optional.
Bug report
PHPStan doesn't allow an empty array as default value for a function/method parameter, if the parameter is documented as having all its keys as optional.
Code snippet that reproduces the problem
https://phpstan.org/r/d68246c6-ee90-4cc0-9464-ce59ead0e5ab
Expected output
No errors
The text was updated successfully, but these errors were encountered: