Skip to content

Commit 1523364

Browse files
committed
NGSTACK-836: use class constant instead of FQCN
1 parent 6ef4212 commit 1523364

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Container/Compiler/AsynchronousIndexingPass.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
2020
use Symfony\Component\DependencyInjection\ContainerBuilder;
2121
use Symfony\Component\DependencyInjection\Reference;
22+
use Ibexa\Contracts\Core\Persistence\Content\Location\Handler as LocationHandler;
2223

2324
final class AsynchronousIndexingPass implements CompilerPassInterface
2425
{
@@ -37,7 +38,7 @@ public function process(ContainerBuilder $container): void
3738
->setDecoratedService(CoreContentEventSubscriber::class)
3839
->setArguments([
3940
new Reference('netgen.ibexa_search_extra.asynchronous_indexing.messenger.bus'),
40-
new Reference('Ibexa\Contracts\Core\Persistence\Content\Location\Handler'),
41+
new Reference(LocationHandler::class),
4142
]);
4243

4344
$container

0 commit comments

Comments
 (0)