From b05a5209b9e39b0f4282e35d1173854806f28840 Mon Sep 17 00:00:00 2001 From: Bas Date: Sun, 26 Jun 2022 14:17:26 +0200 Subject: [PATCH] Update Domain.php Update for GuzzleHttp/PSR7 2.0 --- src/DirectAdmin/Objects/Domain.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DirectAdmin/Objects/Domain.php b/src/DirectAdmin/Objects/Domain.php index 3fc8c95..3bd1e39 100644 --- a/src/DirectAdmin/Objects/Domain.php +++ b/src/DirectAdmin/Objects/Domain.php @@ -63,7 +63,7 @@ class Domain extends BaseObject public function __construct($name, UserContext $context, $config) { parent::__construct($name, $context); - $this->setConfig($context, is_array($config) ? $config : \GuzzleHttp\Psr7\parse_query($config)); + $this->setConfig($context, is_array($config) ? $config : \GuzzleHttp\Psr7\Query::parse($config)); } /**