From 63ba66c852a5699975cdf3fd23606445a9f080b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petar=20=C5=A0panja?= Date: Fri, 28 Jun 2024 07:57:30 +0200 Subject: [PATCH] NGSTACK-842: replace FQCN with class constant --- .../Compiler/ScheduledVisibilityHandlerRegistrationPass.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bundle/DependencyInjection/Compiler/ScheduledVisibilityHandlerRegistrationPass.php b/bundle/DependencyInjection/Compiler/ScheduledVisibilityHandlerRegistrationPass.php index 84e0929..0138593 100644 --- a/bundle/DependencyInjection/Compiler/ScheduledVisibilityHandlerRegistrationPass.php +++ b/bundle/DependencyInjection/Compiler/ScheduledVisibilityHandlerRegistrationPass.php @@ -9,12 +9,13 @@ use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Definition; use Symfony\Component\DependencyInjection\Reference; +use Netgen\Bundle\IbexaScheduledVisibilityBundle\Core\Registry; use function sprintf; final class ScheduledVisibilityHandlerRegistrationPass implements CompilerPassInterface { - private string $handlerRegistryId = 'Netgen\Bundle\IbexaScheduledVisibilityBundle\Core\Registry'; + private string $handlerRegistryId = Registry::class; private string $handlerTag = 'netgen.ibexa_scheduled_visibility.handler'; public function process(ContainerBuilder $container): void