Your project must not contain invalid function or method calls
- Read doc
- Reliability
- Major
More information: https://insight.symfony.com/what-we-analyse/php.invalid_call
- */
- protected function produce(Handler $handler, ContainerInterface $container, array $args): mixed
- {
- // Fetched through the container on every build so a user-supplied
- // override flows; construction never reaches $handler.
- return $container->get(ResolverInterface::class)->resolveInstance($this->factory, $args);
- }
- /**
- * @assert-if-true class-string $factory
- *