Skip to content

Commit 5ca68a1

Browse files
committed
chore: fix typo on user repo
1 parent 867ca27 commit 5ca68a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/Repositories/DoctrineUserRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public function getByVerificationEmailToken(string $token): ?User
129129
}
130130

131131
public function getByIdWithGroups(int $id): ?User {
132-
return $this->_em->createQuery(
132+
return $this->getEntityManager()->createQuery(
133133
'SELECT u, g FROM ' .User::class . ' u
134134
LEFT JOIN FETCH u.groups g
135135
WHERE u.id = :id'

0 commit comments

Comments
 (0)