mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-22 14:45:43 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -18,14 +18,8 @@ use const SORT_NUMERIC;
|
||||
|
||||
class LabelPersonHelper
|
||||
{
|
||||
private PersonRenderInterface $personRender;
|
||||
|
||||
private PersonRepository $personRepository;
|
||||
|
||||
public function __construct(PersonRepository $personRepository, PersonRenderInterface $personRender)
|
||||
public function __construct(private PersonRepository $personRepository, private PersonRenderInterface $personRender)
|
||||
{
|
||||
$this->personRepository = $personRepository;
|
||||
$this->personRender = $personRender;
|
||||
}
|
||||
|
||||
public function getLabelMulti(string $key, array $values, string $header): callable
|
||||
|
Reference in New Issue
Block a user