Search code examples
phpphpstormcode-inspectionphp-ide

How to stop this inspection: "Member has protected access, but class has magic method __get"?


How to stop this inspection:

"Member has protected access, but class has magic method __get"?

enter image description here

I searched everywhere but can not find the option to disable this inspection.

I really do not want the properties remain marked with a different color when they are private and there is a magic method __get in classes.


Solution

  • As @LazyOne mentioned the solution is: @property string $File in php doc.