mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-30 18:39:43 +00:00
Create message and handler for canceling stale workflows
This commit is contained in:
@@ -4,12 +4,12 @@ namespace Chill\MainBundle\Service\Workflow;
|
||||
|
||||
class CancelStaleWorkflow
|
||||
{
|
||||
public function __construct(public array $workflowIds)
|
||||
public function __construct(public int $workflowId)
|
||||
{
|
||||
}
|
||||
|
||||
public function getWorkflowIds(): array
|
||||
public function getWorkflowId(): int
|
||||
{
|
||||
return $this->workflowIds;
|
||||
return $this->workflowId;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user