Conditions | 2 |
Paths | 2 |
Total Lines | 4 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 0 |
1 | <?php |
||
46 | protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType) |
||
47 | { |
||
48 | if (200 === $status) { |
||
49 | return $serializer->deserialize($body, 'ConnectHolland\\TimechimpBundle\\Api\\Model\\Task', 'json'); |
||
50 | } |
||
53 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.