Skip to content

Commit

Permalink
Fix incorrect case of getOneOrNullResult (#279)
Browse files Browse the repository at this point in the history
  • Loading branch information
glaubinix committed Jan 2, 2024
1 parent 9c682c2 commit aaf9477
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -49,7 +49,7 @@ public function getMostRecentNonExpiredRequestDate(object $user): ?\DateTimeInte
->orderBy('t.requestedAt', 'DESC')
->setMaxResults(1)
->getQuery()
->getOneorNullResult()
->getOneOrNullResult()
;

if (null !== $resetPasswordRequest && !$resetPasswordRequest->isExpired()) {
Expand Down

0 comments on commit aaf9477

Please sign in to comment.