mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
fixes after merge of master into upgrade-sf4
This commit is contained in:
@@ -23,9 +23,7 @@ use Symfony\Component\Validator\Exception\UnexpectedValueException;
|
||||
|
||||
class AccompanyingPeriodValidityValidator extends ConstraintValidator
|
||||
{
|
||||
public function __construct(private readonly ActivityRepository $activityRepository, private readonly SocialIssueRender $socialIssueRender, private readonly TokenStorageInterface $token)
|
||||
{
|
||||
}
|
||||
public function __construct(private readonly ActivityRepository $activityRepository, private readonly SocialIssueRender $socialIssueRender, private readonly TokenStorageInterface $token) {}
|
||||
|
||||
public function validate($period, Constraint $constraint)
|
||||
{
|
||||
|
@@ -20,9 +20,7 @@ use Symfony\Component\Validator\Exception\UnexpectedValueException;
|
||||
|
||||
class LocationValidityValidator extends ConstraintValidator
|
||||
{
|
||||
public function __construct(private readonly PersonRenderInterface $render)
|
||||
{
|
||||
}
|
||||
public function __construct(private readonly PersonRenderInterface $render) {}
|
||||
|
||||
public function validate($period, Constraint $constraint)
|
||||
{
|
||||
|
@@ -24,9 +24,7 @@ class ParticipationOverlapValidator extends ConstraintValidator
|
||||
{
|
||||
private const MAX_PARTICIPATION = 1;
|
||||
|
||||
public function __construct(private readonly PersonRenderInterface $personRender, private readonly ThirdPartyRender $thirdpartyRender)
|
||||
{
|
||||
}
|
||||
public function __construct(private readonly PersonRenderInterface $personRender, private readonly ThirdPartyRender $thirdpartyRender) {}
|
||||
|
||||
public function validate($participations, Constraint $constraint)
|
||||
{
|
||||
|
@@ -21,9 +21,7 @@ use Symfony\Component\Validator\ConstraintValidator;
|
||||
|
||||
class ResourceDuplicateCheckValidator extends ConstraintValidator
|
||||
{
|
||||
public function __construct(private readonly PersonRenderInterface $personRender, private readonly ThirdPartyRender $thirdpartyRender)
|
||||
{
|
||||
}
|
||||
public function __construct(private readonly PersonRenderInterface $personRender, private readonly ThirdPartyRender $thirdpartyRender) {}
|
||||
|
||||
public function validate($resources, Constraint $constraint)
|
||||
{
|
||||
|
@@ -24,9 +24,7 @@ use Symfony\Component\Validator\Exception\UnexpectedTypeException;
|
||||
*/
|
||||
class HouseholdMembershipSequentialValidator extends ConstraintValidator
|
||||
{
|
||||
public function __construct(private readonly PersonRenderInterface $render)
|
||||
{
|
||||
}
|
||||
public function __construct(private readonly PersonRenderInterface $render) {}
|
||||
|
||||
public function validate($person, Constraint $constraint)
|
||||
{
|
||||
|
@@ -20,9 +20,7 @@ use Symfony\Component\Validator\Exception\UnexpectedValueException;
|
||||
|
||||
class RelationshipNoDuplicateValidator extends ConstraintValidator
|
||||
{
|
||||
public function __construct(private readonly RelationshipRepository $relationshipRepository)
|
||||
{
|
||||
}
|
||||
public function __construct(private readonly RelationshipRepository $relationshipRepository) {}
|
||||
|
||||
public function validate($value, Constraint $constraint)
|
||||
{
|
||||
|
Reference in New Issue
Block a user