Remove unrelated code style change.

This commit is contained in:
Pol Dellaiera
2021-03-31 14:57:25 +02:00
parent 48e2d2ceab
commit 03243605da
3 changed files with 83 additions and 79 deletions

View File

@@ -44,7 +44,7 @@ class Person implements HasCenterInterface {
/** @var string The person's last name */
private $lastName;
/**
*
* @var \Doctrine\Common\Collections\Collection
@@ -121,12 +121,12 @@ class Person implements HasCenterInterface {
* @var \Doctrine\Common\Collections\Collection
*/
private $addresses;
/**
* @var string
*/
private $fullnameCanonical;
public function __construct(\DateTime $opening = null) {
$this->accompanyingPeriods = new ArrayCollection();
$this->spokenLanguages = new ArrayCollection();
@@ -333,7 +333,7 @@ class Person implements HasCenterInterface {
{
return $this->lastName;
}
public function getAltNames(): \Doctrine\Common\Collections\Collection
{
return $this->altNames;
@@ -342,7 +342,7 @@ class Person implements HasCenterInterface {
public function setAltNames(\Doctrine\Common\Collections\Collection $altNames)
{
$this->altNames = $altNames;
return $this;
}
@@ -352,20 +352,20 @@ class Person implements HasCenterInterface {
$this->altNames->add($altName);
$altName->setPerson($this);
}
return $this;
}
public function removeAltName(PersonAltName $altName)
public function removeAltName(PersonAltName $altName)
{
if ($this->altNames->contains($altName)) {
$altName->setPerson(null);
$this->altNames->removeElement($altName);
}
return $this;
}
/**
* Set birthdate
*