The method register() does not exist on Psr\Container\ContainerInterface. It seems like you code against a sub-type of Psr\Container\ContainerInterface such as Micro\Component\DependencyInjection\Container.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
40
$this->container->/** @scrutinizer ignore-call */
41
register(AutowireHelperInterface::class,
Loading history...
41
1
fn () => (new AutowireHelperFactory($this->container))
42
1
->create()
43
1
);
44
}
45
46
/**
47
* @TODO: uncomment at 2.0 version
48
* {@inheritDoc}
49
*/
50
1
public function boot(object $applicationPlugin): void
51
{
52
1
if (!($applicationPlugin instanceof DependencyProviderInterface)) {