ソースを参照

Merge branch 'develop' into features/background

François Drouhard 2 年 前
コミット
1a0de6a5be
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/Entity/User.php

+ 1 - 1
src/Entity/User.php

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