How to stop this inspection: "Member has protected access, but class has magic method __get"? As @LazyOne mentioned the solution is: @property string $File in php doc.