Skip to content

Commit

Permalink
Use non-deprecated type.
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-vessey committed Oct 10, 2023
1 parent 01f07e2 commit 5893223
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Plugin/Block/EmbargoNotificationBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
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;
use Drupal\Core\Session\AccountProxyInterface;
use Drupal\embargo\EmbargoInterface;
use Drupal\node\NodeInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\HttpFoundation\RequestStack;

/**
* Provides a "Embargo Notifications" block.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 5893223

Please sign in to comment.