From 67fddeb4faba852b3a94974b09629dc3e2f606b6 Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Mon, 17 Jun 2024 14:23:14 +0100 Subject: [PATCH] fix: path and method --- src/Appwrite/Event/Func.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;