| Total Complexity | 1 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | trait MakeRequestTrait |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Generate a call to request |
||
| 14 | * |
||
| 15 | * @param string $method |
||
| 16 | * @param string $endpoint |
||
| 17 | * @param string $body |
||
| 18 | * @param array $headers |
||
| 19 | * @param array $serverParams |
||
| 20 | * @return ResponseInterface |
||
| 21 | */ |
||
| 22 | public function call(string $method, string $endpoint, string $body = '', array $headers = [], array $serverParams = []) : ResponseInterface |
||
| 29 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.