mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
chore: make group nullable and remove it from endpoints where its not required
This commit is contained in:
1 parent
2a7038bb8e
commit
04733e25c8
17 files changed
+201
-698
No files matched your search
@@ -16,7 +16,7 @@ class Method
|
||||
* Initialise a new SDK method
|
||||
*
|
||||
* @param string $namespace
|
||||
* @param string $group
|
||||
* @param string|null $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 $group,
|
||||
protected string|null $group,
|
||||
protected string $name,
|
||||
protected string $description,
|
||||
protected array $auth,
|
||||
@@ -128,7 +128,7 @@ class Method
|
||||
return $this->namespace;
|
||||
}
|
||||
|
||||
public function getGroup(): string
|
||||
public function getGroup(): string|null
|
||||
{
|
||||
return $this->group;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user