diff --git a/src/EventSubscriber/DomainLangConfigRedirect.php b/src/EventSubscriber/DomainLangConfigRedirect.php
index 283500b..4dc86ab 100644
--- a/src/EventSubscriber/DomainLangConfigRedirect.php
+++ b/src/EventSubscriber/DomainLangConfigRedirect.php
@@ -2,6 +2,7 @@

 namespace Drupal\domain_lang\EventSubscriber;

+use Drupal\Core\Routing\RouteObjectInterface;
 use Symfony\Component\HttpKernel\Event\RequestEvent;
 use Drupal\Core\Messenger\MessengerInterface;
 use Drupal\Core\Routing\TrustedRedirectResponse;
@@ -9,7 +10,6 @@
 use Drupal\Core\Url;
 use Drupal\domain\DomainInterface;
 use Drupal\domain\DomainNegotiatorInterface;
-use Symfony\Cmf\Component\Routing\RouteObjectInterface;
 use Symfony\Component\EventDispatcher\EventSubscriberInterface;
 use Symfony\Component\HttpKernel\KernelEvents;
