Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit 4360692

Browse files
committed
:octocat:
1 parent 2adcefc commit 4360692

File tree

3 files changed

+5
-197
lines changed

3 files changed

+5
-197
lines changed

config/.env_example

Lines changed: 0 additions & 188 deletions
This file was deleted.

config/.env_travis

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
1-
MYSQL_HOST=localhost
2-
MYSQL_PORT=3306
3-
MYSQL_DATABASE=dbtest
4-
MYSQL_USERNAME=root
5-
MYSQL_PASSWORD=
61
IS_CI=TRUE

src/Core/OAuthProvider.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@
1212

1313
namespace 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};
1616
use chillerlan\HTTP\MagicAPI\{ApiClientException, ApiClientInterface, EndpointMapInterface};
1717
use chillerlan\OAuth\Storage\OAuthStorageInterface;
1818
use chillerlan\Settings\SettingsContainerInterface;
19+
use Http\Client\HttpClient;
1920
use Psr\Http\Message\{RequestFactoryInterface, StreamFactoryInterface, StreamInterface, UriFactoryInterface};
2021
use Psr\Http\Message\ResponseInterface;
2122
use 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

Comments
 (0)