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 1d9c121 commit 0dc1657Copy full SHA for 0dc1657
examples/src/Repositories/DeviceCodeRepository.php
@@ -49,7 +49,7 @@ public function getDeviceCodeEntityByDeviceCode(string $deviceCode): ?DeviceCode
49
$deviceCodeEntity->setIdentifier($deviceCode);
50
$deviceCodeEntity->setExpiryDateTime(new DateTimeImmutable('now +1 hour'));
51
$deviceCodeEntity->setClient($clientEntity);
52
- $deviceCodeEntity->setLastPolledAt(new DateTimeImmutable());
+ $deviceCodeEntity->setLastPolledAt(new DateTimeImmutable('now -5 second'));
53
$deviceCodeEntity->setInterval(5);
54
55
// The user identifier should be set when the user authenticates on the
0 commit comments