Your project must not contain invalid function or method calls

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

  1. */
  2. protected function produce(Handler $handler, ContainerInterface $container, array $args): mixed
  3. {
  4. // Fetched through the container on every build so a user-supplied
  5. // override flows; construction never reaches $handler.
  6. return $container->get(ResolverInterface::class)->resolveInstance($this->factory, $args);
    Cannot call method resolveInstance() on mixed.
    Time to fix: about 9 minutes
    Read doc Open Issue Permalink Copy Prompt
    Last edited by Fery Wardiyanto
  7. }
  8. /**
  9. * @assert-if-true class-string $factory
  10. *