diff --git a/src/league/oauth2-client/README.md b/src/league/oauth2-client/README.md index 50155e3..0610ddc 100644 --- a/src/league/oauth2-client/README.md +++ b/src/league/oauth2-client/README.md @@ -114,7 +114,7 @@ if (!isset($_GET['code'])) { // The provider provides a way to get an authenticated API request for // the service, using the access token; it returns an object conforming - // to Psr\Http\Message\RequestInterface. + // to MichaelKaefer\GuzzleHttp6ForPrestashop17\Psr\Http\Message\RequestInterface. $request = $provider->getAuthenticatedRequest( 'GET', 'http://brentertainment.com/oauth2/lockdin/resource', diff --git a/src/league/oauth2-client/src/Provider/AbstractProvider.php b/src/league/oauth2-client/src/Provider/AbstractProvider.php index 50d726b..4e1b232 100644 --- a/src/league/oauth2-client/src/Provider/AbstractProvider.php +++ b/src/league/oauth2-client/src/Provider/AbstractProvider.php @@ -14,9 +14,9 @@ namespace MichaelKaefer\OAuth2ClientForPrestashop17\League\OAuth2\Client\Provider; -use GuzzleHttp\Client as HttpClient; -use GuzzleHttp\ClientInterface as HttpClientInterface; -use GuzzleHttp\Exception\BadResponseException; +use MichaelKaefer\GuzzleHttp6ForPrestashop17\GuzzleHttp\Client as HttpClient; +use MichaelKaefer\GuzzleHttp6ForPrestashop17\GuzzleHttp\ClientInterface as HttpClientInterface; +use MichaelKaefer\GuzzleHttp6ForPrestashop17\GuzzleHttp\Exception\BadResponseException; use MichaelKaefer\OAuth2ClientForPrestashop17\League\OAuth2\Client\Grant\AbstractGrant; use MichaelKaefer\OAuth2ClientForPrestashop17\League\OAuth2\Client\Grant\GrantFactory; use MichaelKaefer\OAuth2ClientForPrestashop17\League\OAuth2\Client\Provider\Exception\IdentityProviderException; @@ -24,8 +24,8 @@ use MichaelKaefer\OAuth2ClientForPrestashop17\League\OAuth2\Client\Tool\ArrayAccessorTrait; use MichaelKaefer\OAuth2ClientForPrestashop17\League\OAuth2\Client\Tool\QueryBuilderTrait; use MichaelKaefer\OAuth2ClientForPrestashop17\League\OAuth2\Client\Tool\RequestFactory; -use Psr\Http\Message\RequestInterface; -use Psr\Http\Message\ResponseInterface; +use MichaelKaefer\GuzzleHttp6ForPrestashop17\Psr\Http\Message\RequestInterface; +use MichaelKaefer\GuzzleHttp6ForPrestashop17\Psr\Http\Message\ResponseInterface; use UnexpectedValueException; /** diff --git a/src/league/oauth2-client/src/Provider/GenericProvider.php b/src/league/oauth2-client/src/Provider/GenericProvider.php index dd7efc9..03f7b84 100644 --- a/src/league/oauth2-client/src/Provider/GenericProvider.php +++ b/src/league/oauth2-client/src/Provider/GenericProvider.php @@ -18,7 +18,7 @@ use MichaelKaefer\OAuth2ClientForPrestashop17\League\OAuth2\Client\Provider\Exception\IdentityProviderException; use MichaelKaefer\OAuth2ClientForPrestashop17\League\OAuth2\Client\Token\AccessToken; use MichaelKaefer\OAuth2ClientForPrestashop17\League\OAuth2\Client\Tool\BearerAuthorizationTrait; -use Psr\Http\Message\ResponseInterface; +use MichaelKaefer\GuzzleHttp6ForPrestashop17\Psr\Http\Message\ResponseInterface; /** * Represents a generic service provider that may be used to interact with any diff --git a/src/league/oauth2-client/src/Tool/ProviderRedirectTrait.php b/src/league/oauth2-client/src/Tool/ProviderRedirectTrait.php index c3a5dc2..bcda845 100644 --- a/src/league/oauth2-client/src/Tool/ProviderRedirectTrait.php +++ b/src/league/oauth2-client/src/Tool/ProviderRedirectTrait.php @@ -2,11 +2,11 @@ namespace MichaelKaefer\OAuth2ClientForPrestashop17\League\OAuth2\Client\Tool; -use GuzzleHttp\Exception\BadResponseException; -use GuzzleHttp\Psr7\Uri; +use MichaelKaefer\GuzzleHttp6ForPrestashop17\GuzzleHttp\Exception\BadResponseException; +use MichaelKaefer\GuzzleHttp6ForPrestashop17\GuzzleHttp\Psr7\Uri; use InvalidArgumentException; -use Psr\Http\Message\RequestInterface; -use Psr\Http\Message\ResponseInterface; +use MichaelKaefer\GuzzleHttp6ForPrestashop17\Psr\Http\Message\RequestInterface; +use MichaelKaefer\GuzzleHttp6ForPrestashop17\Psr\Http\Message\ResponseInterface; trait ProviderRedirectTrait { @@ -50,7 +50,7 @@ protected function followRequestRedirects(RequestInterface $request) /** * Returns the HTTP client instance. * - * @return GuzzleHttp\ClientInterface + * @return MichaelKaefer\GuzzleHttp6ForPrestashop17\GuzzleHttp\ClientInterface */ abstract public function getHttpClient(); diff --git a/src/league/oauth2-client/src/Tool/RequestFactory.php b/src/league/oauth2-client/src/Tool/RequestFactory.php index a54d248..5c5840c 100644 --- a/src/league/oauth2-client/src/Tool/RequestFactory.php +++ b/src/league/oauth2-client/src/Tool/RequestFactory.php @@ -14,7 +14,7 @@ namespace MichaelKaefer\OAuth2ClientForPrestashop17\League\OAuth2\Client\Tool; -use GuzzleHttp\Psr7\Request; +use MichaelKaefer\GuzzleHttp6ForPrestashop17\GuzzleHttp\Psr7\Request; /** * Used to produce PSR-7 Request instances.