From e30f755b816b35341b6bebd8a075de14c80d726b Mon Sep 17 00:00:00 2001 From: Gabriel Gressier Date: Thu, 30 Nov 2023 10:08:30 +0100 Subject: [PATCH] The restoreToken function return type can be null --- src/Persistence/TokenPersistenceInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Persistence/TokenPersistenceInterface.php b/src/Persistence/TokenPersistenceInterface.php index 19abf65..cc6682d 100644 --- a/src/Persistence/TokenPersistenceInterface.php +++ b/src/Persistence/TokenPersistenceInterface.php @@ -11,7 +11,7 @@ interface TokenPersistenceInterface * * @param TokenInterface $token * - * @return TokenInterface Restored token + * @return ?TokenInterface Restored token */ public function restoreToken(TokenInterface $token);