mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix: nullable group field in SDK\Method
This commit is contained in:
@@ -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<AuthType> $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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user