Object parameters should be type hinted

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

  1. *
  2. * @param string|array $request
  3. *
  4. * @return array
  5. */
  6. protected function sendWithTolerance($request)

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

    Time to fix: about 1 hour
    Open Issue Permalink
    Last edited by Charalampos Raftopoulos
  7. {
  8. $operation = new Callback(function () use ($request) {
  9. return $request->send();
  10. });