diff --git a/src/Api/Mailboxes.php b/src/Api/Mailboxes.php index 5c3cf01..ecad77b 100644 --- a/src/Api/Mailboxes.php +++ b/src/Api/Mailboxes.php @@ -20,7 +20,7 @@ use Mailgun\Model\Mailboxes\UpdateResponse; class Mailboxes extends HttpApi { const MIN_PASSWORD_LENGTH = 5; - + /** * @param string $domain * @param array $parameters @@ -81,7 +81,7 @@ class Mailboxes extends HttpApi } /** - * @param string $address + * @param string $domain * @param string $mailbox * * @return DeleteResponse diff --git a/src/Mailgun.php b/src/Mailgun.php index a0d667e..05c93d1 100644 --- a/src/Mailgun.php +++ b/src/Mailgun.php @@ -146,6 +146,6 @@ class Mailgun public function mailboxes(): Api\Mailboxes { - return new Api\Mailboxes($this->httpClient, $this->requestBuilder, $this->hydrator, $this->apiKey); + return new Api\Mailboxes($this->httpClient, $this->requestBuilder, $this->hydrator); } }