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
The text was updated successfully, but these errors were encountered:
mvorisek
changed the title
Method ... never assigns ... so it can be removed from the by-ref type.
Method ... never assigns ... so it can be removed from the by-ref type is wrong
Mar 7, 2024
Bug report
The reported error is wrong.
According to the https://github.com/phpstan/phpstan/releases/tag/1.10.60 changelog it seems it is caused by phpstan/phpstan-src#2941.
/cc @ljmaskey
Code snippet that reproduces the problem
https://phpstan.org/r/0b38e932-eef5-4069-a71e-cdf11d75234a
Expected output
no phpstan error
The text was updated successfully, but these errors were encountered: