php cs fixes

This commit is contained in:
2023-09-14 15:53:42 +02:00
parent ac9704f154
commit 7ca2380dad
114 changed files with 139 additions and 346 deletions

View File

@@ -74,6 +74,5 @@ class AccompanyingPeriodInfo
* @ORM\Column(type="text")
*/
public readonly string $discriminator,
) {
}
) {}
}

View File

@@ -1607,14 +1607,14 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
return $this;
}
public function addCenterHistory(PersonCenterHistory $newCenterHistory): self
{
if (!$this->centerHistory->contains($newCenterHistory)) {
$this->centerHistory[] = $newCenterHistory;
$newCenterHistory->setPerson($this);
}
return $this;
public function addCenterHistory(PersonCenterHistory $newCenterHistory): self
{
if (!$this->centerHistory->contains($newCenterHistory)) {
$this->centerHistory[] = $newCenterHistory;
$newCenterHistory->setPerson($this);
}
return $this;
}
/**
* @return Person