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
trait T { public function foo() : void { echo "here"; } } class C { use T { foo as private traitFoo; } public function bar() : void { $this->traitFoo(); } } class D extends C { public function bar() : void { $this->traitFoo(); // should fail } }
Expected: Call to private method C::traitFoo from context D Actual: No issue https://getpsalm.org/r/695c8bd848
C::traitFoo
The text was updated successfully, but these errors were encountered:
6d462fc
No branches or pull requests
Expected: Call to private method
C::traitFoo
from context DActual: No issue
https://getpsalm.org/r/695c8bd848
The text was updated successfully, but these errors were encountered: