Protected methods in php templates are marked red


I'am working with a framework where the php template extends internally a class.
Since phpStorm does't recognice the inheritence all methods which are protected are marked red "Member hast protected access".

This only occurs, when  @var Classname is set in order to use the code completion

Is there any way to avoid this.

Thanks Torsten

Please sign in to leave a comment.