如何停止此检查:"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"?

如何停止此检查:

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

我到处搜索,但找不到禁用此检查的选项。

我真的不希望属性在 private 时仍然用不同的颜色标记并且 类 中有一个神奇的方法 __get

正如@LazyOne 提到的那样,解决方案是: @property string $File 在 php 文档中