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
@@ @@-18: Parameter #1 $entity of method HelloWorld<TEntityClass of object>::show() expects TEntityClass of object, TEntityClass of object|TEntityClass of object given.+18: Parameter #1 $entity of method HelloWorld<TEntityClass of object>::show() expects TEntityClass of object, TEntityClass of object given.
Full report
Line
Error
18
Parameter #1 $entity of method HelloWorld<TEntityClass of object>::show() expects TEntityClass of object, TEntityClass of object given.
Bug report
I'm not even sure how to explain, sorry.
Probably it infers something from
method_exists
and does not print it out?Code snippet that reproduces the problem
https://phpstan.org/r/62cf8f07-ea60-4d5e-842a-41bd454c0a84
Expected output
No errors?
The text was updated successfully, but these errors were encountered: