Since https://github.com/phpstan/phpstan-doctrine/pull/253, the metadata is resolved without the need of an objectManagerLoader. It works well, but I have the following issue: ``` $this->getEntityManager()->getRepository(Expedition::class)->getListOrders($context, $date); ``` report an error ``` Call to an undefined method Doctrine\ORM\EntityRepository<App\Entity\Expedition>::getListOrders(). ``` `getRepository` is considered as an `EntityRepository` instead of `ExpeditionRepository`. Seems like that as soon as I remove the field ``` /** * @ORM\Embedded(class="App\Entity\Embeddable\Slot") */ private ?Slot $slot = null; ``` from the Expedition entity, it works well.