diff --git a/src/Bundle/ChillMainBundle/Workflow/Validator/EntityWorkflowCreation.php b/src/Bundle/ChillMainBundle/Workflow/Validator/EntityWorkflowCreation.php index 34f024884..b2ec671ef 100644 --- a/src/Bundle/ChillMainBundle/Workflow/Validator/EntityWorkflowCreation.php +++ b/src/Bundle/ChillMainBundle/Workflow/Validator/EntityWorkflowCreation.php @@ -27,7 +27,7 @@ class EntityWorkflowCreation extends \Symfony\Component\Validator\Constraint public string $messageWorkflowNotAvailable = 'Workflow is not valid'; - public function getTargets() + public function getTargets(): array { return [self::CLASS_CONSTRAINT]; }