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
Array content detection reports that int is present in the array and float|null is expected when the called function requests ?float parameter. The detection behaves correctly when only float parameter is requested.
Summary of a problem or a feature request
Code speaks for 1000 words ⬇️ 😉
Array content detection reports that
int
is present in the array andfloat|null
is expected when the called function requests?float
parameter. The detection behaves correctly when onlyfloat
parameter is requested.Code snippet that reproduces the problem
https://phpstan.org/r/1e51242a-89bd-481a-b6a1-3c0cc173b7d5
Expected output
Linked code snippet should not report any issues.
The text was updated successfully, but these errors were encountered: