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
https://psalm.dev/r/579ba0cca7
The text was updated successfully, but these errors were encountered:
I found these snippets:
<?php class A { public function __construct() { $this->run( 'parent::hello' ); // should be an error $this->run( ['parent', 'hello'] ); // should be an error $this->run( 'self::hello' ); $this->run( ['self', 'hello'] ); } /** * @param callable $callable * @return void */ public function run($callable) { call_user_func($callable); } } new A();
Psalm output (using commit ef3b018): ERROR: UndefinedMethod - 6:21 - Method A::hello does not exist ERROR: UndefinedMethod - 7:21 - Method A::hello does not exist
Sorry, something went wrong.
Fix undefined parent not reported in callable
766ce27
Fix vimeo#10836
ff168a9
parent
Successfully merging a pull request may close this issue.
https://psalm.dev/r/579ba0cca7
The text was updated successfully, but these errors were encountered: