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 errors seem to be new in dev-master, I do not get them with last release.
They only appear in the second class using the trait, not in the first one.
The text was updated successfully, but these errors were encountered:
Psalm output (using commit a5672db):
INFO: MoreSpecificReturnType - 5:17 - The declared return type 'class-string<A>' for Factory::getFactoryClass is more specific than the inferred return type 'string(...)'
ERROR: InvalidReturnStatement - 30:16 - The inferred type 'A' does not match the declared return type 'B' for B::factory
ERROR: InvalidReturnType - 27:39 - The declared return type 'B' for B::factory is incorrect, got 'A'
https://psalm.dev/r/bc5e4d038b
The errors seem to be new in dev-master, I do not get them with last release.
They only appear in the second class using the trait, not in the first one.
The text was updated successfully, but these errors were encountered: