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
Methods could also be imported as private: https://3v4l.org/R9gM8 Currently Psalm fails to detect public calls to such privatised methods: https://getpsalm.org/r/3e50cee4ef
Originally posted by @weirdan in 4d95962#commitcomment-31861520
<?php trait T { public function f(): void {} } class C { use T { f as private; } } (new C)->f();
Expected issue: call to a private method from outside of the class Actual: No issues.
The text was updated successfully, but these errors were encountered:
*sigh* thanks. I don't really understand the point of this feature.
*sigh*
Sorry, something went wrong.
Oh this is actually a dupe of #909
No branches or pull requests
Methods could also be imported as private: https://3v4l.org/R9gM8
Currently Psalm fails to detect public calls to such privatised methods: https://getpsalm.org/r/3e50cee4ef
Originally posted by @weirdan in 4d95962#commitcomment-31861520
Expected issue: call to a private method from outside of the class
Actual: No issues.
The text was updated successfully, but these errors were encountered: