fix the return type of the EntityWorkflowCreation constraint

This commit is contained in:
2024-10-18 19:26:09 +02:00
parent 91a4b45607
commit daef18408a

View File

@@ -27,6 +27,9 @@ class EntityWorkflowCreation extends \Symfony\Component\Validator\Constraint
public string $messageWorkflowNotAvailable = 'Workflow is not valid';
/**
* @return array<string>
*/
public function getTargets(): array
{
return [self::CLASS_CONSTRAINT];