|
@@ -202,7 +202,7 @@ class User implements UserInterface,PasswordAuthenticatedUserInterface
|
|
return $this->tokenValidity;
|
|
return $this->tokenValidity;
|
|
}
|
|
}
|
|
|
|
|
|
- private function setTokenValidity(\DateTimeInterface $tokenValidity)
|
|
|
|
|
|
+ private function setTokenValidity(\DateTimeInterface $tokenValidity): self
|
|
{
|
|
{
|
|
$this->tokenValidity = $tokenValidity;
|
|
$this->tokenValidity = $tokenValidity;
|
|
|
|
|