diff --git a/src/Appwrite/Event/Func.php b/src/Appwrite/Event/Func.php index 451df2b6c1..86080593af 100644 --- a/src/Appwrite/Event/Func.php +++ b/src/Appwrite/Event/Func.php @@ -11,8 +11,8 @@ class Func extends Event protected string $jwt = ''; protected string $type = ''; protected string $body = ''; - protected string $path = ''; - protected string $method = ''; + protected ?string $path = null; + protected ?string $method = null; protected array $headers = []; protected ?string $functionId = null; protected ?Document $function = null;