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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃憢 I've noticed that mixins cannot be generic. Is this intentional?
https://psalm.dev/r/b9951fdcc6
This would be helpful when attempting to add support for __call, when an object proxies to another class and passes itself as a dependency.
__call
The text was updated successfully, but these errors were encountered:
I found these snippets:
<?php /** * @template T */ class Foo { public function hi(): string { return 'hi'; } } /** * @mixin Foo<string> */ class Bar { } $bar = new Bar(); $bar->hi();
Psalm output (using commit 189cd2b): ERROR: UndefinedMethod - 19:7 - Method Bar::hi does not exist
Sorry, something went wrong.
95dbb93
No branches or pull requests
馃憢 I've noticed that mixins cannot be generic. Is this intentional?
https://psalm.dev/r/b9951fdcc6
This would be helpful when attempting to add support for
__call
, when an object proxies to another class and passes itself as a dependency.The text was updated successfully, but these errors were encountered: