From d8848e10afc0d8b2ec63d877cbc0c93794240f5c Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Mon, 27 Jan 2025 11:12:11 +0000 Subject: [PATCH] fix: build --- src/Appwrite/Network/Validator/Redirect.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Appwrite/Network/Validator/Redirect.php b/src/Appwrite/Network/Validator/Redirect.php index 05482f1072..f938c01ea9 100644 --- a/src/Appwrite/Network/Validator/Redirect.php +++ b/src/Appwrite/Network/Validator/Redirect.php @@ -13,11 +13,13 @@ use Utopia\Validator\Host; */ class Redirect extends Host { + protected array $schemes = []; + /** * @param array $hostnames White list of allowed hostnames * @param array $schemes White list of allowed schemes */ - public function __construct(array $hostnames, array $schemes) + public function __construct(array $hostnames = [], array $schemes = []) { $this->schemes = $schemes; parent::__construct($hostnames);