diff --git a/core/modules/content_moderation/src/EventSubscriber/WorkspaceSubscriber.php b/core/modules/content_moderation/src/EventSubscriber/WorkspaceSubscriber.php index ecd9ba3844d9d7ad980c2f218b9b35e3e2019528..9e37f0097d7a20a904c96f5b8441aaa338ec19cd 100644 --- a/core/modules/content_moderation/src/EventSubscriber/WorkspaceSubscriber.php +++ b/core/modules/content_moderation/src/EventSubscriber/WorkspaceSubscriber.php @@ -19,12 +19,12 @@ class WorkspaceSubscriber implements EventSubscriberInterface { * * @param \Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager * The entity type manager service. - * @param \Drupal\workspaces\WorkspaceAssociationInterface $workspaceAssociation + * @param \Drupal\workspaces\WorkspaceAssociationInterface|null $workspaceAssociation * The workspace association service. */ public function __construct( protected readonly EntityTypeManagerInterface $entityTypeManager, - protected readonly WorkspaceAssociationInterface $workspaceAssociation + protected readonly ?WorkspaceAssociationInterface $workspaceAssociation ) {} /**