Skip to content

Commit

Permalink
Update Domain.php
Browse files Browse the repository at this point in the history
Update for GuzzleHttp/PSR7 2.0
  • Loading branch information
basdevet authored Jun 26, 2022
1 parent 0aaf17d commit b05a520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DirectAdmin/Objects/Domain.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

/**
Expand Down

0 comments on commit b05a520

Please sign in to comment.