Skip to content

Commit aaf9477

Browse files
authored
Fix incorrect case of getOneOrNullResult (#279)
1 parent 9c682c2 commit aaf9477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Persistence/Repository/ResetPasswordRequestRepositoryTrait.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function getMostRecentNonExpiredRequestDate(object $user): ?\DateTimeInte
4949
->orderBy('t.requestedAt', 'DESC')
5050
->setMaxResults(1)
5151
->getQuery()
52-
->getOneorNullResult()
52+
->getOneOrNullResult()
5353
;
5454

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

0 commit comments

Comments
 (0)