From b0eb6434b800066b013149559bb8d7205b98d35e Mon Sep 17 00:00:00 2001 From: Fabian Gruber Date: Wed, 23 Apr 2025 17:12:34 +0200 Subject: [PATCH] fix: nullable group field in SDK\Method --- src/Appwrite/SDK/Method.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Appwrite/SDK/Method.php b/src/Appwrite/SDK/Method.php index b0afd2ee58..2fec726e44 100644 --- a/src/Appwrite/SDK/Method.php +++ b/src/Appwrite/SDK/Method.php @@ -16,7 +16,7 @@ class Method * Initialise a new SDK method * * @param string $namespace - * @param string|null $group + * @param ?string $group * @param string $name * @param string $description * @param array $auth @@ -34,7 +34,7 @@ class Method */ public function __construct( protected string $namespace, - protected string|null $group, + protected ?string $group, protected string $name, protected string $description, protected array $auth, @@ -128,7 +128,7 @@ class Method return $this->namespace; } - public function getGroup(): string|null + public function getGroup(): ?string { return $this->group; }