diff --git a/src/Appwrite/Auth/Key.php b/src/Appwrite/Auth/Key.php index df906ccd15..44f546eaa4 100644 --- a/src/Appwrite/Auth/Key.php +++ b/src/Appwrite/Auth/Key.php @@ -104,7 +104,7 @@ class Key public static function decode( Document $project, string $key - ): static { + ) { if (\str_contains($key, '_')) { [$type, $secret] = \explode('_', $key, 2); } else {