Rector changes and immplementations of required methods

This commit is contained in:
2025-05-22 17:47:07 +02:00
parent d9a47fdee9
commit 9fcc1634f5
1138 changed files with 2656 additions and 2616 deletions

View File

@@ -27,12 +27,12 @@ final class AsyncFileExists extends Constraint
}
}
public function validatedBy()
public function validatedBy(): string
{
return AsyncFileExistsValidator::class;
}
public function getTargets()
public function getTargets(): string|array
{
return [Constraint::CLASS_CONSTRAINT, Constraint::PROPERTY_CONSTRAINT];
}