Revert "php style fixes"

This reverts commit 38fcccfd83.
This commit is contained in:
2024-04-24 10:09:25 +02:00
parent 38fcccfd83
commit 3929602f59
41 changed files with 642 additions and 217 deletions

View File

@@ -182,6 +182,7 @@ class ClosingMotive
/**
* Set name.
*
*
* @return ClosingMotive
*/
public function setName(array $name)

View File

@@ -1409,6 +1409,9 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
return $this;
}
/**
* @param \DateTime $birthdate
*/
public function setBirthdate(?\DateTime $birthdate): self
{
$this->birthdate = $birthdate;

View File

@@ -39,11 +39,11 @@ class ListPerson implements ListInterface, GroupedExportInterface
private readonly bool $filterStatsByCenters;
public function __construct(
private readonly CustomFieldProvider $customFieldProvider,
private readonly ListPersonHelper $listPersonHelper,
private readonly CustomFieldProvider $customFieldProvider,
private readonly ListPersonHelper $listPersonHelper,
protected readonly EntityManagerInterface $entityManager,
private readonly TranslatableStringHelper $translatableStringHelper,
ParameterBagInterface $parameterBag,
ParameterBagInterface $parameterBag,
) {
$this->filterStatsByCenters = $parameterBag->get('chill_main')['acl']['filter_stats_by_center'];
}