From 589322320bce178d67ae2220b82a43ab1523c7b4 Mon Sep 17 00:00:00 2001 From: Adam Vessey Date: Tue, 10 Oct 2023 12:01:01 -0300 Subject: [PATCH] Use non-deprecated type. --- src/Plugin/Block/EmbargoNotificationBlock.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Plugin/Block/EmbargoNotificationBlock.php b/src/Plugin/Block/EmbargoNotificationBlock.php index 28045fd..7ad8d4d 100644 --- a/src/Plugin/Block/EmbargoNotificationBlock.php +++ b/src/Plugin/Block/EmbargoNotificationBlock.php @@ -7,7 +7,6 @@ use Drupal\Core\Cache\Cache; use Drupal\Core\Config\ConfigFactoryInterface; use Drupal\Core\Entity\EntityTypeManagerInterface; -use Drupal\Core\Http\RequestStack; use Drupal\Core\Plugin\ContainerFactoryPluginInterface; use Drupal\Core\Render\RendererInterface; use Drupal\Core\Routing\ResettableStackedRouteMatchInterface; @@ -15,6 +14,7 @@ use Drupal\embargo\EmbargoInterface; use Drupal\node\NodeInterface; use Symfony\Component\DependencyInjection\ContainerInterface; +use Symfony\Component\HttpFoundation\RequestStack; /** * Provides a "Embargo Notifications" block. @@ -87,7 +87,7 @@ class EmbargoNotificationBlock extends BlockBase implements ContainerFactoryPlug * The plugin definition. * @param \Drupal\Core\Routing\ResettableStackedRouteMatchInterface $route_match * A route matching interface. - * @param \Drupal\Core\Http\RequestStack $request_stack + * @param \Symfony\Component\HttpFoundation\RequestStack $request_stack * The request being made to check access against. * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory * A configuration factory interface.