We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c981f1 commit 33670b9Copy full SHA for 33670b9
src/Controller/ResetPasswordControllerTrait.php
@@ -97,6 +97,6 @@ private function getSessionService(): SessionInterface
97
*/
98
private function getFakeToken(int $tokenLifetime): ResetPasswordToken
99
{
100
- return new ResetPasswordToken('fake-token', new \DateTimeImmutable(\sprintf('+%d seconds', $tokenLifetime)), time());
+ return new ResetPasswordToken('fake-token', new \DateTimeImmutable(\sprintf('+%d seconds', $tokenLifetime)), \time());
101
}
102
0 commit comments