diff --git a/src/EventSubscriber/CheckUserRolePermissionEvent.php b/src/EventSubscriber/CheckUserRolePermissionEvent.php
index 4109d3d..b389cf4 100755
--- a/src/EventSubscriber/CheckUserRolePermissionEvent.php
+++ b/src/EventSubscriber/CheckUserRolePermissionEvent.php
@@ -2,9 +2,9 @@
 
 namespace Drupal\jsonapi_role_access\EventSubscriber;
 
+use Symfony\Contracts\EventDispatcher\Event;
 use Drupal\Core\Session\AccountProxy;
 use Drupal\Core\Config\ConfigFactoryInterface;
-use Symfony\Component\EventDispatcher\Event;
 use Symfony\Component\EventDispatcher\EventSubscriberInterface;
 use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException;
 use Symfony\Component\HttpKernel\KernelEvents;
