diff --git a/src/AcquiaClient.php b/src/AcquiaClient.php index 5b3ff96..b021c8b 100644 --- a/src/AcquiaClient.php +++ b/src/AcquiaClient.php @@ -365,8 +365,8 @@ public function deleteDomain($environmentUuid, $domain): OperationResponse */ public function purgeVarnishCache($environmentUuid, array $domains): OperationResponse { - $domains = new Domains(self::factory($this->connector)); - return $domains->purge($environmentUuid, $domains); + $domain = new Domains(self::factory($this->connector)); + return $domain->purge($environmentUuid, $domains); } /**