Total Complexity | 2 |
Total Lines | 13 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class GuzzlePsr18Client implements ClientInterface |
||
11 | { |
||
12 | /** @var GuzzleClient */ |
||
13 | private $client; |
||
14 | |||
15 | public function __construct(GuzzleClient $client = null) |
||
16 | { |
||
17 | $this->client = $client ?? new GuzzleClient(['allow_redirects' => false]); |
||
18 | } |
||
19 | |||
20 | public function sendRequest(RequestInterface $request): ResponseInterface |
||
23 | } |
||
24 | } |
||
25 |