mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-01 02:49:42 +00:00
Add missing parameter in creation of new AssignTaskEvent
This commit is contained in:
@@ -20,7 +20,7 @@ class AssignTaskEvent extends Event
|
||||
final public const PERSIST = 'chill_task.assign_task';
|
||||
public function __construct(
|
||||
private readonly SingleTask $task,
|
||||
private readonly User $initialAssignee,
|
||||
private readonly ?User $initialAssignee,
|
||||
) {}
|
||||
|
||||
public function getTask(): SingleTask
|
||||
@@ -28,7 +28,7 @@ class AssignTaskEvent extends Event
|
||||
return $this->task;
|
||||
}
|
||||
|
||||
public function getInitialAssignee(): User
|
||||
public function getInitialAssignee(): ?User
|
||||
{
|
||||
return $this->initialAssignee;
|
||||
}
|
||||
|
Reference in New Issue
Block a user