mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
fix: nullable group field in SDK\Method
This commit is contained in:
parent
fe28af292b
commit
b0eb6434b8
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue