Use FQCN as service name for ImportChain

This commit is contained in:
Yassine Guedidi
2022-04-24 17:24:24 +02:00
parent 9f7a076e41
commit b7aaceeaad
4 changed files with 9 additions and 7 deletions

View File

@ -10,12 +10,12 @@ class ImportCompilerPass implements CompilerPassInterface
{
public function process(ContainerBuilder $container)
{
if (!$container->hasDefinition('wallabag_import.chain')) {
if (!$container->hasDefinition(ImportChain::class)) {
return;
}
$definition = $container->getDefinition(
'wallabag_import.chain'
ImportChain::class
);
$taggedServices = $container->findTaggedServiceIds(