You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
useSome\ProjectBundle\Entity\User;
...$userRepository = $this->entityManager->getRepository(User::class);
/** * $userRepository should have the same type as if it's like * $this->entityManager->getRepository('SomeProjectBundle:User'); * or * $this->entityManager->getRepository('Some\ProjectBundle\Entity\User'); */
but instead $userRepository is resolved as a Doctrine\Common\Persistence\ObjectRepository and not as a Some\ProjectBundle\Entity\UserRepository
The text was updated successfully, but these errors were encountered:
but instead
$userRepository
is resolved as a Doctrine\Common\Persistence\ObjectRepository and not as a Some\ProjectBundle\Entity\UserRepositoryThe text was updated successfully, but these errors were encountered: