mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-22 04:26:02 +03:00
because `\Http\Client\Common\HttpMethodsClientInterface` is an interface, not a class
This commit is contained in:
parent
6ff2a713af
commit
7e438f4b4e
@ -18,7 +18,7 @@ use Psr\Http\Message\RequestInterface;
|
||||
/*
|
||||
* Below is a some code to make the History plugin compatible with both 1.x and 2.x of php-client/client-common
|
||||
*/
|
||||
if (\class_exists(\Http\Client\Common\HttpMethodsClientInterface::class)) {
|
||||
if (\interface_exists(\Http\Client\Common\HttpMethodsClientInterface::class)) {
|
||||
/**
|
||||
* @internal code for php-http/client-common:2.x
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user