You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by xmorave2 January 4, 2022
Is this an issue in PHPStan, or am I doing something wrong?
When function from trait is renamed in parent class, phpstan report error 'Call to private method method() of parent class' when I am trying to call it by alias in sub class, although the code is working at least on PHP 7.4.
Discussed in #6303
Originally posted by xmorave2 January 4, 2022
Is this an issue in PHPStan, or am I doing something wrong?
When function from trait is renamed in parent class, phpstan report error 'Call to private method method() of parent class' when I am trying to call it by alias in sub class, although the code is working at least on PHP 7.4.
https://phpstan.org/r/7d2d47f0-9bcf-4586-a3d7-f47e5741fc15
PHPStan 1.1.0 didn't show this error. It is shown after upgrading to 1.3.0.
The text was updated successfully, but these errors were encountered: