We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Before Psalter
<?php class A {} function f(): A { return new class extends A {}; }
After Psalter
<?php class A {} function f(): object { return new class extends A {}; }
The return type of the function f was changed to object. Is this intended?
f
object
Would it be doable to use the class the anonymous class extends from if it is the case?
The text was updated successfully, but these errors were encountered:
Hey @thiagorb, can you reproduce the issue on https://psalm.dev ?
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Before Psalter
After Psalter
The return type of the function
f
was changed toobject
. Is this intended?Would it be doable to use the class the anonymous class extends from if it is the case?
The text was updated successfully, but these errors were encountered: