Unverified Commit c4d6699d authored by alexpott's avatar alexpott
Browse files

Issue #3161983 by catch, longwave, Pooja Ganjage, sanjayk, daffie, Kristen...

Issue #3161983 by catch, longwave, Pooja Ganjage, sanjayk, daffie, Kristen Pol, dww, Gábor Hojtsy: [Symfony 6] Update EventDispatcherInterface type hints in constructors
parent 33700d01
...@@ -2501,7 +2501,7 @@ function hook_validation_constraint_alter(array &$definitions) { ...@@ -2501,7 +2501,7 @@ function hook_validation_constraint_alter(array &$definitions) {
* *
* @section sec_dispatch Dispatching events * @section sec_dispatch Dispatching events
* To dispatch an event, call the * To dispatch an event, call the
* \Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch() * \Symfony\Contracts\EventDispatcher\EventDispatcherInterface::dispatch()
* method on the 'event_dispatcher' service (see the * method on the 'event_dispatcher' service (see the
* @link container Services topic @endlink for more information about how to * @link container Services topic @endlink for more information about how to
* interact with services). The first argument is the unique event name, which * interact with services). The first argument is the unique event name, which
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
use Drupal\Core\Session\AccountInterface; use Drupal\Core\Session\AccountInterface;
use Drupal\Core\Utility\UnroutedUrlAssemblerInterface; use Drupal\Core\Utility\UnroutedUrlAssemblerInterface;
use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\HttpFoundation\RedirectResponse; use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpKernel\KernelEvents; use Symfony\Component\HttpKernel\KernelEvents;
...@@ -28,7 +28,7 @@ class GotoAction extends ConfigurableActionBase implements ContainerFactoryPlugi ...@@ -28,7 +28,7 @@ class GotoAction extends ConfigurableActionBase implements ContainerFactoryPlugi
/** /**
* The event dispatcher service. * The event dispatcher service.
* *
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface * @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
*/ */
protected $dispatcher; protected $dispatcher;
...@@ -48,7 +48,7 @@ class GotoAction extends ConfigurableActionBase implements ContainerFactoryPlugi ...@@ -48,7 +48,7 @@ class GotoAction extends ConfigurableActionBase implements ContainerFactoryPlugi
* The plugin ID for the plugin instance. * The plugin ID for the plugin instance.
* @param mixed $plugin_definition * @param mixed $plugin_definition
* The plugin implementation definition. * The plugin implementation definition.
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher * @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $dispatcher
* The tempstore factory. * The tempstore factory.
* @param \Drupal\Core\Utility\UnroutedUrlAssemblerInterface $url_assembler * @param \Drupal\Core\Utility\UnroutedUrlAssemblerInterface $url_assembler
* The unrouted URL assembler service. * The unrouted URL assembler service.
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
use Drupal\Component\Utility\NestedArray; use Drupal\Component\Utility\NestedArray;
use Drupal\Core\Cache\Cache; use Drupal\Core\Cache\Cache;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
/** /**
* Defines the default configuration object. * Defines the default configuration object.
...@@ -21,7 +21,7 @@ class Config extends StorableConfigBase { ...@@ -21,7 +21,7 @@ class Config extends StorableConfigBase {
/** /**
* An event dispatcher instance to use for configuration events. * An event dispatcher instance to use for configuration events.
* *
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface * @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
*/ */
protected $eventDispatcher; protected $eventDispatcher;
...@@ -57,7 +57,7 @@ class Config extends StorableConfigBase { ...@@ -57,7 +57,7 @@ class Config extends StorableConfigBase {
* @param \Drupal\Core\Config\StorageInterface $storage * @param \Drupal\Core\Config\StorageInterface $storage
* A storage object to use for reading and writing the * A storage object to use for reading and writing the
* configuration data. * configuration data.
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher * @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
* An event dispatcher instance to use for configuration events. * An event dispatcher instance to use for configuration events.
* @param \Drupal\Core\Config\TypedConfigManagerInterface $typed_config * @param \Drupal\Core\Config\TypedConfigManagerInterface $typed_config
* The typed configuration manager service. * The typed configuration manager service.
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
use Drupal\Component\Utility\NestedArray; use Drupal\Component\Utility\NestedArray;
use Drupal\Core\Cache\Cache; use Drupal\Core\Cache\Cache;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\EventDispatcher\EventSubscriberInterface;
/** /**
...@@ -34,7 +34,7 @@ class ConfigFactory implements ConfigFactoryInterface, EventSubscriberInterface ...@@ -34,7 +34,7 @@ class ConfigFactory implements ConfigFactoryInterface, EventSubscriberInterface
/** /**
* An event dispatcher instance to use for configuration events. * An event dispatcher instance to use for configuration events.
* *
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface * @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
*/ */
protected $eventDispatcher; protected $eventDispatcher;
...@@ -64,7 +64,7 @@ class ConfigFactory implements ConfigFactoryInterface, EventSubscriberInterface ...@@ -64,7 +64,7 @@ class ConfigFactory implements ConfigFactoryInterface, EventSubscriberInterface
* *
* @param \Drupal\Core\Config\StorageInterface $storage * @param \Drupal\Core\Config\StorageInterface $storage
* The configuration storage engine. * The configuration storage engine.
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher * @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
* An event dispatcher instance to use for configuration events. * An event dispatcher instance to use for configuration events.
* @param \Drupal\Core\Config\TypedConfigManagerInterface $typed_config * @param \Drupal\Core\Config\TypedConfigManagerInterface $typed_config
* The typed configuration manager. * The typed configuration manager.
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
use Drupal\Core\Lock\LockBackendInterface; use Drupal\Core\Lock\LockBackendInterface;
use Drupal\Core\StringTranslation\StringTranslationTrait; use Drupal\Core\StringTranslation\StringTranslationTrait;
use Drupal\Core\StringTranslation\TranslationInterface; use Drupal\Core\StringTranslation\TranslationInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
/** /**
* Defines a configuration importer. * Defines a configuration importer.
...@@ -53,7 +53,7 @@ class ConfigImporter { ...@@ -53,7 +53,7 @@ class ConfigImporter {
/** /**
* The event dispatcher used to notify subscribers. * The event dispatcher used to notify subscribers.
* *
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface * @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
*/ */
protected $eventDispatcher; protected $eventDispatcher;
...@@ -172,7 +172,7 @@ class ConfigImporter { ...@@ -172,7 +172,7 @@ class ConfigImporter {
* @param \Drupal\Core\Config\StorageComparerInterface $storage_comparer * @param \Drupal\Core\Config\StorageComparerInterface $storage_comparer
* A storage comparer object used to determine configuration changes and * A storage comparer object used to determine configuration changes and
* access the source and target storage objects. * access the source and target storage objects.
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher * @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
* The event dispatcher used to notify subscribers of config import events. * The event dispatcher used to notify subscribers of config import events.
* @param \Drupal\Core\Config\ConfigManagerInterface $config_manager * @param \Drupal\Core\Config\ConfigManagerInterface $config_manager
* The configuration manager. * The configuration manager.
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
use Drupal\Component\Utility\Crypt; use Drupal\Component\Utility\Crypt;
use Drupal\Core\Config\Entity\ConfigDependencyManager; use Drupal\Core\Config\Entity\ConfigDependencyManager;
use Drupal\Core\Installer\InstallerKernel; use Drupal\Core\Installer\InstallerKernel;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
class ConfigInstaller implements ConfigInstallerInterface { class ConfigInstaller implements ConfigInstallerInterface {
...@@ -40,7 +40,7 @@ class ConfigInstaller implements ConfigInstallerInterface { ...@@ -40,7 +40,7 @@ class ConfigInstaller implements ConfigInstallerInterface {
/** /**
* The event dispatcher. * The event dispatcher.
* *
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface * @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
*/ */
protected $eventDispatcher; protected $eventDispatcher;
...@@ -76,7 +76,7 @@ class ConfigInstaller implements ConfigInstallerInterface { ...@@ -76,7 +76,7 @@ class ConfigInstaller implements ConfigInstallerInterface {
* The typed configuration manager. * The typed configuration manager.
* @param \Drupal\Core\Config\ConfigManagerInterface $config_manager * @param \Drupal\Core\Config\ConfigManagerInterface $config_manager
* The configuration manager. * The configuration manager.
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher * @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
* The event dispatcher. * The event dispatcher.
* @param string $install_profile * @param string $install_profile
* The name of the currently active installation profile. * The name of the currently active installation profile.
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
use Drupal\Core\Serialization\Yaml; use Drupal\Core\Serialization\Yaml;
use Drupal\Core\StringTranslation\StringTranslationTrait; use Drupal\Core\StringTranslation\StringTranslationTrait;
use Drupal\Core\StringTranslation\TranslationInterface; use Drupal\Core\StringTranslation\TranslationInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
/** /**
* The ConfigManager provides helper functions for the configuration system. * The ConfigManager provides helper functions for the configuration system.
...@@ -59,7 +59,7 @@ class ConfigManager implements ConfigManagerInterface { ...@@ -59,7 +59,7 @@ class ConfigManager implements ConfigManagerInterface {
/** /**
* The event dispatcher. * The event dispatcher.
* *
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface * @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
*/ */
protected $eventDispatcher; protected $eventDispatcher;
...@@ -90,7 +90,7 @@ class ConfigManager implements ConfigManagerInterface { ...@@ -90,7 +90,7 @@ class ConfigManager implements ConfigManagerInterface {
* The string translation service. * The string translation service.
* @param \Drupal\Core\Config\StorageInterface $active_storage * @param \Drupal\Core\Config\StorageInterface $active_storage
* The active configuration storage. * The active configuration storage.
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher * @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
* The event dispatcher. * The event dispatcher.
* @param \Drupal\Core\Entity\EntityRepositoryInterface $entity_repository * @param \Drupal\Core\Entity\EntityRepositoryInterface $entity_repository
* The entity repository. * The entity repository.
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
use Drupal\Core\Database\Connection; use Drupal\Core\Database\Connection;
use Drupal\Core\Lock\LockBackendInterface; use Drupal\Core\Lock\LockBackendInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
/** /**
* The export storage manager dispatches an event for the export storage. * The export storage manager dispatches an event for the export storage.
...@@ -39,7 +39,7 @@ final class ExportStorageManager implements StorageManagerInterface { ...@@ -39,7 +39,7 @@ final class ExportStorageManager implements StorageManagerInterface {
/** /**
* The event dispatcher. * The event dispatcher.
* *
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface * @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
*/ */
protected $eventDispatcher; protected $eventDispatcher;
...@@ -57,7 +57,7 @@ final class ExportStorageManager implements StorageManagerInterface { ...@@ -57,7 +57,7 @@ final class ExportStorageManager implements StorageManagerInterface {
* The active config storage to prime the export storage. * The active config storage to prime the export storage.
* @param \Drupal\Core\Database\Connection $connection * @param \Drupal\Core\Database\Connection $connection
* The database connection. * The database connection.
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher * @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
* The event dispatcher. * The event dispatcher.
* @param \Drupal\Core\Lock\LockBackendInterface $lock * @param \Drupal\Core\Lock\LockBackendInterface $lock
* The used lock backend instance. * The used lock backend instance.
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
use Drupal\Core\Database\Connection; use Drupal\Core\Database\Connection;
use Drupal\Core\Lock\LockBackendInterface; use Drupal\Core\Lock\LockBackendInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
/** /**
* The import storage transformer helps to use the configuration management api. * The import storage transformer helps to use the configuration management api.
...@@ -26,7 +26,7 @@ final class ImportStorageTransformer { ...@@ -26,7 +26,7 @@ final class ImportStorageTransformer {
/** /**
* The event dispatcher to get changes to the configuration. * The event dispatcher to get changes to the configuration.
* *
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface * @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
*/ */
protected $eventDispatcher; protected $eventDispatcher;
...@@ -56,7 +56,7 @@ final class ImportStorageTransformer { ...@@ -56,7 +56,7 @@ final class ImportStorageTransformer {
/** /**
* ImportStorageTransformer constructor. * ImportStorageTransformer constructor.
* *
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher * @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
* The event dispatcher. * The event dispatcher.
* @param \Drupal\Core\Database\Connection $connection * @param \Drupal\Core\Database\Connection $connection
* The database connection. * The database connection.
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
namespace Drupal\Core\Entity; namespace Drupal\Core\Entity;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
/** /**
* Reacts to entity type CRUD on behalf of the Entity system. * Reacts to entity type CRUD on behalf of the Entity system.
...@@ -28,7 +28,7 @@ class EntityTypeListener implements EntityTypeListenerInterface { ...@@ -28,7 +28,7 @@ class EntityTypeListener implements EntityTypeListenerInterface {
/** /**
* The event dispatcher. * The event dispatcher.
* *
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface * @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
*/ */
protected $eventDispatcher; protected $eventDispatcher;
...@@ -46,7 +46,7 @@ class EntityTypeListener implements EntityTypeListenerInterface { ...@@ -46,7 +46,7 @@ class EntityTypeListener implements EntityTypeListenerInterface {
* The entity type manager. * The entity type manager.
* @param \Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager * @param \Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager
* The entity field manager. * The entity field manager.
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher * @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
* The event dispatcher. * The event dispatcher.
* @param \Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface $entity_last_installed_schema_repository * @param \Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface $entity_last_installed_schema_repository
* The entity last installed schema repository. * The entity last installed schema repository.
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
use Drupal\Core\Entity\EntityFieldManagerInterface; use Drupal\Core\Entity\EntityFieldManagerInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface; use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Entity\FieldableEntityStorageInterface; use Drupal\Core\Entity\FieldableEntityStorageInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
/** /**
* Reacts to field storage definition CRUD on behalf of the Entity system. * Reacts to field storage definition CRUD on behalf of the Entity system.
...@@ -25,7 +25,7 @@ class FieldStorageDefinitionListener implements FieldStorageDefinitionListenerIn ...@@ -25,7 +25,7 @@ class FieldStorageDefinitionListener implements FieldStorageDefinitionListenerIn
/** /**
* The event dispatcher. * The event dispatcher.
* *
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface * @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
*/ */
protected $eventDispatcher; protected $eventDispatcher;
...@@ -55,7 +55,7 @@ class FieldStorageDefinitionListener implements FieldStorageDefinitionListenerIn ...@@ -55,7 +55,7 @@ class FieldStorageDefinitionListener implements FieldStorageDefinitionListenerIn
* *
* @param \Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager * @param \Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager
* The entity type manager. * The entity type manager.
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher * @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
* The event dispatcher. * The event dispatcher.
* @param \Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface $entity_last_installed_schema_repository * @param \Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface $entity_last_installed_schema_repository
* The entity last installed schema repository. * The entity last installed schema repository.
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
use Drupal\Core\Render\ElementInfoManagerInterface; use Drupal\Core\Render\ElementInfoManagerInterface;
use Drupal\Core\Security\TrustedCallbackInterface; use Drupal\Core\Security\TrustedCallbackInterface;
use Drupal\Core\Theme\ThemeManagerInterface; use Drupal\Core\Theme\ThemeManagerInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\HttpFoundation\FileBag; use Symfony\Component\HttpFoundation\FileBag;
use Symfony\Component\HttpFoundation\ParameterBag; use Symfony\Component\HttpFoundation\ParameterBag;
use Symfony\Component\HttpFoundation\RequestStack; use Symfony\Component\HttpFoundation\RequestStack;
...@@ -40,7 +40,7 @@ class FormBuilder implements FormBuilderInterface, FormValidatorInterface, FormS ...@@ -40,7 +40,7 @@ class FormBuilder implements FormBuilderInterface, FormValidatorInterface, FormS
/** /**
* The event dispatcher. * The event dispatcher.
* *
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface * @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
*/ */
protected $eventDispatcher; protected $eventDispatcher;
...@@ -157,7 +157,7 @@ class FormBuilder implements FormBuilderInterface, FormValidatorInterface, FormS ...@@ -157,7 +157,7 @@ class FormBuilder implements FormBuilderInterface, FormValidatorInterface, FormS
* The form cache. * The form cache.
* @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
* The module handler. * The module handler.
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher * @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
* The event dispatcher. * The event dispatcher.
* @param \Symfony\Component\HttpFoundation\RequestStack $request_stack * @param \Symfony\Component\HttpFoundation\RequestStack $request_stack
* The request stack. * The request stack.
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
use Drupal\Core\Render\RenderEvents; use Drupal\Core\Render\RenderEvents;
use Drupal\Core\Routing\RouteMatchInterface; use Drupal\Core\Routing\RouteMatchInterface;
use Drupal\Core\Theme\ThemeManagerInterface; use Drupal\Core\Theme\ThemeManagerInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Request;
/** /**
...@@ -48,7 +48,7 @@ class HtmlRenderer implements MainContentRendererInterface { ...@@ -48,7 +48,7 @@ class HtmlRenderer implements MainContentRendererInterface {
/** /**
* The event dispatcher. * The event dispatcher.
* *
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface * @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
*/ */
protected $eventDispatcher; protected $eventDispatcher;
/** /**
...@@ -95,7 +95,7 @@ class HtmlRenderer implements MainContentRendererInterface { ...@@ -95,7 +95,7 @@ class HtmlRenderer implements MainContentRendererInterface {
* The title resolver. * The title resolver.
* @param \Drupal\Component\Plugin\PluginManagerInterface $display_variant_manager * @param \Drupal\Component\Plugin\PluginManagerInterface $display_variant_manager
* The display variant manager. * The display variant manager.
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher * @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
* The event dispatcher. * The event dispatcher.
* @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
* The module handler. * The module handler.
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
use Drupal\Core\Lock\LockBackendInterface; use Drupal\Core\Lock\LockBackendInterface;
use Drupal\Core\DestructableInterface; use Drupal\Core\DestructableInterface;
use Drupal\Component\EventDispatcher\Event; use Drupal\Component\EventDispatcher\Event;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\Routing\RouteCollection; use Symfony\Component\Routing\RouteCollection;
use Symfony\Component\Routing\Route; use Symfony\Component\Routing\Route;
...@@ -35,7 +35,7 @@ class RouteBuilder implements RouteBuilderInterface, DestructableInterface { ...@@ -35,7 +35,7 @@ class RouteBuilder implements RouteBuilderInterface, DestructableInterface {
/** /**
* The event dispatcher to notify of routes. * The event dispatcher to notify of routes.
* *
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface * @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
*/ */
protected $dispatcher; protected $dispatcher;
...@@ -88,7 +88,7 @@ class RouteBuilder implements RouteBuilderInterface, DestructableInterface { ...@@ -88,7 +88,7 @@ class RouteBuilder implements RouteBuilderInterface, DestructableInterface {
* The matcher dumper used to store the route information. * The matcher dumper used to store the route information.
* @param \Drupal\Core\Lock\LockBackendInterface $lock * @param \Drupal\Core\Lock\LockBackendInterface $lock
* The lock backend. * The lock backend.
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher * @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $dispatcher
* The event dispatcher to notify of routes. * The event dispatcher to notify of routes.
* @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
* The module handler. * The module handler.
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
namespace Drupal\Core\Session; namespace Drupal\Core\Session;
use Drupal\Core\DependencyInjection\DependencySerializationTrait; use Drupal\Core\DependencyInjection\DependencySerializationTrait;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
/** /**
* A proxied implementation of AccountInterface. * A proxied implementation of AccountInterface.
...@@ -37,14 +37,14 @@ class AccountProxy implements AccountProxyInterface { ...@@ -37,14 +37,14 @@ class AccountProxy implements AccountProxyInterface {
/** /**
* Event dispatcher. * Event dispatcher.
* *
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface * @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
*/ */
protected $eventDispatcher; protected $eventDispatcher;
/** /**
* AccountProxy constructor. * AccountProxy constructor.
* *
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher * @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $eventDispatcher
* Event dispatcher. * Event dispatcher.
*/ */
public function __construct(EventDispatcherInterface $eventDispatcher) { public function __construct(EventDispatcherInterface $eventDispatcher) {
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
use Drupal\Core\Config\ConfigFactoryInterface; use Drupal\Core\Config\ConfigFactoryInterface;
use Drupal\Core\Render\HtmlResponse; use Drupal\Core\Render\HtmlResponse;
use Drupal\Core\Render\RendererInterface; use Drupal\Core\Render\RendererInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\RequestStack; use Symfony\Component\HttpFoundation\RequestStack;
use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Response;
...@@ -194,7 +194,7 @@ class BigPipe { ...@@ -194,7 +194,7 @@ class BigPipe {
/** /**