Phpstorm Intellisense / Code completion for inherited properties
问题 I have a problem with Phpstorm's code completion for inherited properties. There is an example from my code below. class ParentClass { public $repository; } /* * @property Entity\SubClassRepository $repository */ class SubClass extends ParentClass { public function __construct() { $this->repository= $this->em->getRepository('Entity\Subclass'); } public function ExampleFunction() { $this->repository-> !Here i need the code completion! } } The getRepository function returns SubClassRepository