Object parameters should be type hinted

More information: https://insight.symfony.com/what-we-analyse/php.object_parameter_not_type_hinted

  1. /**
  2. * @param \Psr\Http\Message\ResponseInterface $response
  3. *
  4. * @throws ApiError
  5. */
  6. public function handleResponse($response)

    The parameter response, which is an object, should be typehinted.

    Time to fix: about 1 hour
    Open Issue Permalink
    Last edited by Luke Waite
  7. {
  8. switch ($response->getStatusCode()) {
  9. case 200:
  10. case 201:
  11. case 202: