| Total Complexity | 7 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class CreateProject extends \Jane\OpenApiRuntime\Client\BaseEndpoint implements \Jane\OpenApiRuntime\Client\Psr7Endpoint |
||
| 13 | { |
||
| 14 | public function __construct(\ConnectHolland\TimechimpBundle\Api\Model\Project $project) |
||
| 17 | } |
||
| 18 | |||
| 19 | use \Jane\OpenApiRuntime\Client\Psr7EndpointTrait; |
||
| 20 | |||
| 21 | public function getMethod(): string |
||
| 22 | { |
||
| 23 | return 'POST'; |
||
| 24 | } |
||
| 25 | |||
| 26 | public function getUri(): string |
||
| 27 | { |
||
| 28 | return '/v1/projects'; |
||
| 29 | } |
||
| 30 | |||
| 31 | public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array |
||
| 34 | } |
||
| 35 | |||
| 36 | public function getExtraHeaders(): array |
||
| 37 | { |
||
| 38 | return ['Accept' => ['application/json']]; |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * {@inheritdoc} |
||
| 43 | * |
||
| 44 | * @return \ConnectHolland\TimechimpBundle\Api\Model\Project|null |
||
| 45 | */ |
||
| 46 | protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType) |
||
| 50 | } |
||
| 51 | } |
||
| 52 | } |
||
| 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.