mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2025-02-06 08:19:25 +03:00
Fix PHPStan validation error
Class Mailgun\Api\MailingList referenced with incorrect case: Mailgun\API\MailingList.
This commit is contained in:
parent
787811d08b
commit
3329924ebc
@ -12,6 +12,7 @@ declare(strict_types=1);
|
|||||||
namespace Mailgun;
|
namespace Mailgun;
|
||||||
|
|
||||||
use Http\Client\HttpClient;
|
use Http\Client\HttpClient;
|
||||||
|
use Mailgun\Api\MailingList;
|
||||||
use Mailgun\HttpClient\HttpClientConfigurator;
|
use Mailgun\HttpClient\HttpClientConfigurator;
|
||||||
use Mailgun\HttpClient\Plugin\History;
|
use Mailgun\HttpClient\Plugin\History;
|
||||||
use Mailgun\HttpClient\RequestBuilder;
|
use Mailgun\HttpClient\RequestBuilder;
|
||||||
@ -121,9 +122,9 @@ final class Mailgun
|
|||||||
return new Api\Message($this->httpClient, $this->requestBuilder, $this->hydrator);
|
return new Api\Message($this->httpClient, $this->requestBuilder, $this->hydrator);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function mailingList(): API\MailingList
|
public function mailingList(): MailingList
|
||||||
{
|
{
|
||||||
return new Api\MailingList($this->httpClient, $this->requestBuilder, $this->hydrator);
|
return new MailingList($this->httpClient, $this->requestBuilder, $this->hydrator);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function ips(): Api\Ip
|
public function ips(): Api\Ip
|
||||||
|
Loading…
x
Reference in New Issue
Block a user