mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-26 00:24:59 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -20,11 +20,8 @@ use Symfony\Component\Validator\Exception\UnexpectedValueException;
|
||||
|
||||
class RelationshipNoDuplicateValidator extends ConstraintValidator
|
||||
{
|
||||
private RelationshipRepository $relationshipRepository;
|
||||
|
||||
public function __construct(RelationshipRepository $relationshipRepository)
|
||||
public function __construct(private RelationshipRepository $relationshipRepository)
|
||||
{
|
||||
$this->relationshipRepository = $relationshipRepository;
|
||||
}
|
||||
|
||||
public function validate($value, Constraint $constraint)
|
||||
|
Reference in New Issue
Block a user