Since $data is declared private, accessing it with static will lead to errors in possible sub-classes; you can either use self, or increase the visibility of $data to at least protected.
Loading history...
23
return static::$data[$name] = new BaseRepository($name);
Since $data is declared private, accessing it with static will lead to errors in possible sub-classes; you can either use self, or increase the visibility of $data to at least protected.