Skip to content

Commit f502d3f

Browse files
[DoctrineBridge] Change argument $lastUsed of DoctrineTokenProvider::updateToken() to accept DateTimeInterface
1 parent 95940ed commit f502d3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Functional/Bundle/RememberMeBundle/Security/StaticTokenProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function deleteTokenBySeries(string $series): void
4444
unset(self::$db[$series]);
4545
}
4646

47-
public function updateToken(string $series, string $tokenValue, \DateTime $lastUsed): void
47+
public function updateToken(string $series, string $tokenValue, \DateTimeInterface $lastUsed): void
4848
{
4949
$token = $this->loadTokenBySeries($series);
5050
$refl = new \ReflectionClass($token);

0 commit comments

Comments
 (0)