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