From daef18408a90a60c3af4cd79722e30c7f7b7d5c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Fri, 18 Oct 2024 19:26:09 +0200 Subject: [PATCH] fix the return type of the EntityWorkflowCreation constraint --- .../Workflow/Validator/EntityWorkflowCreation.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Bundle/ChillMainBundle/Workflow/Validator/EntityWorkflowCreation.php b/src/Bundle/ChillMainBundle/Workflow/Validator/EntityWorkflowCreation.php index b2ec671ef..854139ec3 100644 --- a/src/Bundle/ChillMainBundle/Workflow/Validator/EntityWorkflowCreation.php +++ b/src/Bundle/ChillMainBundle/Workflow/Validator/EntityWorkflowCreation.php @@ -27,6 +27,9 @@ class EntityWorkflowCreation extends \Symfony\Component\Validator\Constraint public string $messageWorkflowNotAvailable = 'Workflow is not valid'; + /** + * @return array + */ public function getTargets(): array { return [self::CLASS_CONSTRAINT];