Skip to content
Snippets Groups Projects
Commit a60890d4 authored by catch's avatar catch
Browse files

Issue #3411308 by stefan.korn, ndf, amateescu: WorkspaceSubscriber service...

Issue #3411308 by stefan.korn, ndf, amateescu: WorkspaceSubscriber service parameter $workspaceAssociation must be optional
parent 3ee7654b
No related branches found
No related tags found
No related merge requests found
......@@ -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
) {}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment