From 8d8f6510d2281d7ae2d6b7655654105e9a3940a0 Mon Sep 17 00:00:00 2001 From: Pawel Wasiluk Date: Thu, 19 Aug 2021 14:10:07 +0200 Subject: [PATCH] Phpstan fixes --- src/Api/Mailboxes.php | 4 ++-- src/Mailgun.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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); } }