| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1.0233 |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | 3 | protected function _doRequest($method, $uri, $options) |
|
| 26 | { |
||
| 27 | // For Guzzle5 we cannot have any options that are not pre-defined, |
||
| 28 | // so instead we put it in the config array |
||
| 29 | 3 | $options['config']['videoManagerId'] = $options['videoManagerId']; |
|
| 30 | 3 | unset($options['videoManagerId']); |
|
| 31 | |||
| 32 | 3 | $request = $this->httpClient->createRequest($method, $uri, $options); |
|
|
|
|||
| 33 | |||
| 34 | 3 | return $this->httpClient->send($request); |
|
| 35 | } |
||
| 36 | } |
||
| 37 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.