diff --git a/core/modules/image/lib/Drupal/image/Controller/ImageStyleDownloadController.php b/core/modules/image/lib/Drupal/image/Controller/ImageStyleDownloadController.php index 9cfa479..2647bae 100644 --- a/core/modules/image/lib/Drupal/image/Controller/ImageStyleDownloadController.php +++ b/core/modules/image/lib/Drupal/image/Controller/ImageStyleDownloadController.php @@ -42,14 +42,14 @@ class ImageStyleDownloadController extends FileDownloadController implements Con /** * Constructs a ImageStyleDownloadController object. * - * @param \Drupal\Core\Config\ConfigFactory $config_factory - * The config factory. * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler * The module handler. + * @param \Drupal\Core\Config\ConfigFactory $config_factory + * The config factory. * @param \Drupal\Core\Lock\LockBackendInterface $lock * The lock backend. */ - public function __construct(ConfigFactory $config_factory, ModuleHandlerInterface $module_handler, LockBackendInterface $lock) { + public function __construct(ModuleHandlerInterface $module_handler, ConfigFactory $config_factory, LockBackendInterface $lock) { parent::__construct($module_handler); $this->configFactory = $config_factory; $this->lock = $lock; @@ -60,8 +60,8 @@ public function __construct(ConfigFactory $config_factory, ModuleHandlerInterfac */ public static function create(ContainerInterface $container) { return new static( - $container->get('config.factory'), $container->get('module_handler'), + $container->get('config.factory'), $container->get('lock') ); } diff --git a/core/modules/image/lib/Drupal/image/Plugin/Core/Entity/ImageStyle.php b/core/modules/image/lib/Drupal/image/Plugin/Core/Entity/ImageStyle.php index 68a2d24..7fc752b 100644 --- a/core/modules/image/lib/Drupal/image/Plugin/Core/Entity/ImageStyle.php +++ b/core/modules/image/lib/Drupal/image/Plugin/Core/Entity/ImageStyle.php @@ -15,10 +15,6 @@ use Drupal\Component\Utility\Crypt; use Drupal\Component\Utility\Url; use Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; -use Symfony\Component\HttpFoundation\Response; -use Symfony\Component\HttpFoundation\BinaryFileResponse; -use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException; -use Symfony\Component\HttpKernel\Exception\ServiceUnavailableHttpException; /** * Defines an image style configuration entity.