Skip to content
This repository has been archived by the owner on Sep 6, 2020. It is now read-only.

Commit

Permalink
fix namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelKaefer committed Apr 15, 2018
1 parent fc77104 commit 3f5acf5
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/league/oauth2-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
10 changes: 5 additions & 5 deletions src/league/oauth2-client/src/Provider/AbstractProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@

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;
use MichaelKaefer\OAuth2ClientForPrestashop17\League\OAuth2\Client\Token\AccessToken;
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;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/league/oauth2-client/src/Provider/GenericProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions src/league/oauth2-client/src/Tool/ProviderRedirectTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -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();

Expand Down
2 changes: 1 addition & 1 deletion src/league/oauth2-client/src/Tool/RequestFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3f5acf5

Please sign in to comment.