Total Complexity | 4 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
9 | class ClientAdapter implements HttpClientAdapter |
||
10 | { |
||
11 | protected $handler; |
||
12 | |||
13 | public function setHandler(callable $handler): void |
||
14 | { |
||
15 | $this->handler = $handler; |
||
16 | } |
||
17 | |||
18 | public function request(HttpClientRequest $request): HttpClientResponse |
||
22 | } |
||
23 | |||
24 | private function call(string $method, string $uri): array |
||
37 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.