@@ -2,11 +2,10 @@ discard block |
||
| 2 | 2 | |
| 3 | 3 | namespace drupol\Yaroc\Http; |
| 4 | 4 | |
| 5 | -use drupol\Yaroc\Plugin\MethodPluginInterface; |
|
| 6 | 5 | use Http\Client\Common\HttpMethodsClient; |
| 7 | 6 | use Http\Client\Common\Plugin; |
| 8 | -use Http\Client\Common\Plugin\HeaderDefaultsPlugin; |
|
| 9 | 7 | use Http\Client\Common\PluginClient; |
| 8 | +use Http\Client\Common\Plugin\HeaderDefaultsPlugin; |
|
| 10 | 9 | use Http\Client\Exception\NetworkException; |
| 11 | 10 | use Http\Client\HttpClient; |
| 12 | 11 | use Http\Discovery\HttpClientDiscovery; |
@@ -16,6 +15,7 @@ discard block |
||
| 16 | 15 | use Psr\Http\Message\ResponseInterface; |
| 17 | 16 | use Psr\Http\Message\UriInterface; |
| 18 | 17 | use Psr\Log\LoggerInterface; |
| 18 | +use drupol\Yaroc\Plugin\MethodPluginInterface; |
|
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | 21 | * Class Client |
@@ -2,11 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace drupol\Yaroc; |
| 4 | 4 | |
| 5 | +use Http\Client\HttpClient; |
|
| 6 | +use Psr\Http\Message\ResponseInterface; |
|
| 5 | 7 | use drupol\Yaroc\Http\Client; |
| 6 | 8 | use drupol\Yaroc\Plugin\MethodPluginInterface; |
| 7 | 9 | use drupol\Yaroc\Plugin\MethodPluginManager; |
| 8 | -use Http\Client\HttpClient; |
|
| 9 | -use Psr\Http\Message\ResponseInterface; |
|
| 10 | 10 | |
| 11 | 11 | /** |
| 12 | 12 | * Class RandomOrgAPIClient |