mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-25 16:14:59 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -26,11 +26,8 @@ use function count;
|
||||
*/
|
||||
class HouseholdMembershipSequentialValidator extends ConstraintValidator
|
||||
{
|
||||
private PersonRenderInterface $render;
|
||||
|
||||
public function __construct(PersonRenderInterface $render)
|
||||
public function __construct(private PersonRenderInterface $render)
|
||||
{
|
||||
$this->render = $render;
|
||||
}
|
||||
|
||||
public function validate($person, Constraint $constraint)
|
||||
|
Reference in New Issue
Block a user