diff --git a/core/modules/image/lib/Drupal/image/ImageStyleListController.php b/core/modules/image/lib/Drupal/image/ImageStyleListController.php index 61ff6e4..ff9fed6 100644 --- a/core/modules/image/lib/Drupal/image/ImageStyleListController.php +++ b/core/modules/image/lib/Drupal/image/ImageStyleListController.php @@ -9,7 +9,7 @@ use Drupal\Core\Config\Entity\ConfigEntityListController; use Drupal\Core\Entity\EntityControllerInterface; -use Drupal\Core\Routing\UrlGenerator; +use Drupal\Core\Routing\PathBasedGeneratorInterface; use Symfony\Component\DependencyInjection\ContainerInterface; use Drupal\Core\Entity\EntityStorageControllerInterface; use Drupal\Core\Extension\ModuleHandlerInterface; @@ -24,7 +24,7 @@ class ImageStyleListController extends ConfigEntityListController implements Ent /** * The URL generator. * - * @var \Drupal\Core\Routing\UrlGenerator + * @var \Drupal\Core\Routing\PathBasedGeneratorInterface */ protected $urlGenerator; @@ -39,10 +39,10 @@ class ImageStyleListController extends ConfigEntityListController implements Ent * The entity storage controller class. * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler * The module handler to invoke hooks on. - * @param \Drupal\Core\Routing\UrlGenerator $url_generator + * @param \Drupal\Core\Routing\PathBasedGeneratorInterface $url_generator * The URL generator. */ - public function __construct($entity_type, array $entity_info, EntityStorageControllerInterface $storage, ModuleHandlerInterface $module_handler, UrlGenerator $url_generator) { + public function __construct($entity_type, array $entity_info, EntityStorageControllerInterface $storage, ModuleHandlerInterface $module_handler, PathBasedGeneratorInterface $url_generator) { parent::__construct($entity_type, $entity_info, $storage, $module_handler); $this->urlGenerator = $url_generator; }