Эх сурвалжийг харах

Oubli d'un retour de méthode

François Drouhard 2 жил өмнө
parent
commit
bc206e15df

+ 1 - 1
src/Entity/User.php

@@ -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;