1212
1313namespace chillerlan \OAuth \Core ;
1414
15- use chillerlan \HTTP \{HTTPClientInterface , Psr17 \RequestFactory , Psr17 \StreamFactory , Psr17 \UriFactory , Psr7 };
15+ use chillerlan \HTTP \{Psr17 \RequestFactory , Psr17 \StreamFactory , Psr17 \UriFactory , Psr7 };
1616use chillerlan \HTTP \MagicAPI \{ApiClientException , ApiClientInterface , EndpointMapInterface };
1717use chillerlan \OAuth \Storage \OAuthStorageInterface ;
1818use chillerlan \Settings \SettingsContainerInterface ;
19+ use Http \Client \HttpClient ;
1920use Psr \Http \Message \{RequestFactoryInterface , StreamFactoryInterface , StreamInterface , UriFactoryInterface };
2021use Psr \Http \Message \ResponseInterface ;
2122use Psr \Log \{LoggerAwareInterface , LoggerAwareTrait , NullLogger };
@@ -32,7 +33,7 @@ abstract class OAuthProvider implements OAuthInterface, ApiClientInterface, Logg
3233 use LoggerAwareTrait;
3334
3435 /**
35- * @var \chillerlan\HTTP\HTTPClientInterface
36+ * @var \Http\Client\HttpClient
3637 */
3738 protected $ http ;
3839
@@ -114,13 +115,13 @@ abstract class OAuthProvider implements OAuthInterface, ApiClientInterface, Logg
114115 /**
115116 * OAuthProvider constructor.
116117 *
117- * @param \chillerlan\HTTP\HTTPClientInterface $http
118+ * @param \Http\Client\HttpClient $http
118119 * @param \chillerlan\OAuth\Storage\OAuthStorageInterface $storage
119120 * @param \chillerlan\Settings\SettingsContainerInterface $options
120121 *
121122 * @throws \chillerlan\HTTP\MagicAPI\ApiClientException
122123 */
123- public function __construct (HTTPClientInterface $ http , OAuthStorageInterface $ storage , SettingsContainerInterface $ options ){
124+ public function __construct (HttpClient $ http , OAuthStorageInterface $ storage , SettingsContainerInterface $ options ){
124125 $ this ->http = $ http ;
125126 $ this ->storage = $ storage ;
126127 $ this ->options = $ options ;
0 commit comments