diff --git a/src/Repository/NotificationRepository.php b/src/Repository/NotificationRepository.php index abe47fb..76d642d 100644 --- a/src/Repository/NotificationRepository.php +++ b/src/Repository/NotificationRepository.php @@ -40,7 +40,7 @@ class NotificationRepository extends ServiceEntityRepository ->andWhere('n.isRead = false') ->setParameter('user', $user) ->getQuery() - ->executeStatement() + ->execute() ; } }