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

Commit d4f4a76

Browse files
committed
:octocat:
1 parent 19abf47 commit d4f4a76

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/endpoint-map/create-endpointmap-common.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
* @license MIT
77
*/
88

9+
use chillerlan\HTTP\Psr18\CurlClient;
910
use chillerlan\OAuth\MagicAPI\EndpointMapInterface;
1011
use chillerlan\OAuthExamples\OAuthExampleSessionStorage;
11-
use chillerlan\OAuthTest\{OAuthTestHttpClient, OAuthTestLogger};
12+
use chillerlan\OAuthTest\OAuthTestLogger;
1213

1314
/**
1415
* @var \chillerlan\Settings\SettingsContainerInterface $options
@@ -25,7 +26,7 @@
2526

2627
$logger = new OAuthTestLogger($LOGLEVEL);
2728
$storage = new OAuthExampleSessionStorage($options, $CFGDIR);
28-
$http = new OAuthTestHttpClient($options);
29+
$http = new CurlClient($options);
2930

3031
function createEndpointMap(array $content, string $link, EndpointMapInterface $endpoints, string $base = null):void{
3132
$reflection = new ReflectionClass($endpoints);

0 commit comments

Comments
 (0)