diff --git a/core/lib/Drupal/Core/Pager/Pager.php b/core/lib/Drupal/Core/Pager/Pager.php index c25a41f..88fc157 100644 --- a/core/lib/Drupal/Core/Pager/Pager.php +++ b/core/lib/Drupal/Core/Pager/Pager.php @@ -3,12 +3,13 @@ namespace Drupal\Core\Pager; use Drupal\Core\Url; +use Drupal\Core\DependencyInjection\ContainerInjectionInterface; use Symfony\Component\DependencyInjection\ContainerInterface; /** * Pager class. */ -class Pager implements PagerInterface { +class Pager implements PagerInterface, ContainerInjectionInterface { /** * The pager element. diff --git a/core/lib/Drupal/Core/Pager/PagerInterface.php b/core/lib/Drupal/Core/Pager/PagerInterface.php index da1be85..aef2611 100644 --- a/core/lib/Drupal/Core/Pager/PagerInterface.php +++ b/core/lib/Drupal/Core/Pager/PagerInterface.php @@ -2,12 +2,10 @@ namespace Drupal\Core\Pager; -use Drupal\Core\DependencyInjection\ContainerInjectionInterface; - /** * Provides an interface for pager objects. */ -interface PagerInterface extends ContainerInjectionInterface { +interface PagerInterface { /** * Gets the route name for this pager.