fix the return type of the EntityWorkflowCreation constraint

This commit is contained in:
Julien Fastré 2024-10-18 19:26:09 +02:00
parent 91a4b45607
commit daef18408a
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

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];