Skip to content

Commit b540b11

Browse files
author
Rokas Mikalkėnas
committed
Provide count argument for TooManyLoginAttemptsAuthenticationException to be able to translate in plural way
1 parent bc9e604 commit b540b11

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Exception/TooManyLoginAttemptsAuthenticationException.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public function getMessageData(): array
3333
{
3434
return [
3535
'%minutes%' => $this->threshold,
36+
'%count%' => (int) $this->threshold,
3637
];
3738
}
3839

0 commit comments

Comments
 (0)