Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f0f5b99

Browse files
Merge branch '6.4' into 7.0
* 6.4: [DoctrineBridge] Change argument `$lastUsed` of `DoctrineTokenProvider::updateToken()` to accept `DateTimeInterface`
2 parents 98688a2 + eee7e8f commit f0f5b99

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Symfony/Bridge/Doctrine/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ CHANGELOG
2222
* Deprecate `DoctrineDataCollector::addLogger()`, use a `DebugDataHolder` instead
2323
* Deprecate `ContainerAwareLoader`, use dependency injection in your fixtures instead
2424
* Always pass the `Request` object to `EntityValueResolver`'s expression
25+
* [BC BREAK] Change argument `$lastUsed` of `DoctrineTokenProvider::updateToken()` to accept `DateTimeInterface`
2526

2627
6.3
2728
---

src/Symfony/Bundle/SecurityBundle/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)