diff --git a/src/Appwrite/Utopia/Response/Model/PlatformApp.php b/src/Appwrite/Utopia/Response/Model/PlatformApp.php index a016c84743..1b65b8a55c 100644 --- a/src/Appwrite/Utopia/Response/Model/PlatformApp.php +++ b/src/Appwrite/Utopia/Response/Model/PlatformApp.php @@ -30,12 +30,12 @@ class PlatformApp extends PlatformBase ]; } - public array $conditions = [ - 'type' => self::getSupportedTypes(), - ]; - public function __construct() { + $this->conditions = [ + 'type' => self::getSupportedTypes(), + ]; + parent::__construct(); $this diff --git a/src/Appwrite/Utopia/Response/Model/PlatformWeb.php b/src/Appwrite/Utopia/Response/Model/PlatformWeb.php index 90c83a2f09..1e2a491f0a 100644 --- a/src/Appwrite/Utopia/Response/Model/PlatformWeb.php +++ b/src/Appwrite/Utopia/Response/Model/PlatformWeb.php @@ -19,12 +19,12 @@ class PlatformWeb extends PlatformBase ]; } - public array $conditions = [ - 'type' => self::getSupportedTypes(), - ]; - public function __construct() { + $this->conditions = [ + 'type' => self::getSupportedTypes(), + ]; + parent::__construct(); $this