From ca43281fa9df2ec551da2e4d467bafcce1fdd337 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Sat, 20 Dec 2025 09:20:39 +0100 Subject: [PATCH] Simplify PR --- src/Appwrite/Auth/Key.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Appwrite/Auth/Key.php b/src/Appwrite/Auth/Key.php index 44f546eaa4..b23f2cc816 100644 --- a/src/Appwrite/Auth/Key.php +++ b/src/Appwrite/Auth/Key.php @@ -11,9 +11,6 @@ use Utopia\Database\DateTime; use Utopia\Database\Document; use Utopia\System\System; -/** - * @template T of Key - */ class Key { public function __construct( @@ -99,12 +96,11 @@ class Key * Can be a stored API key or a dynamic key (JWT). * * @throws Exception - * @return T */ public static function decode( Document $project, string $key - ) { + ): Key { if (\str_contains($key, '_')) { [$type, $secret] = \explode('_', $key, 2); } else {