mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-26 00:24:59 +00:00
apply more cs rules for php-cs
This commit is contained in:
@@ -18,31 +18,30 @@ use Symfony\Component\Serializer\Annotation\Groups;
|
||||
* PersonAltName.
|
||||
*
|
||||
* @ORM\Table(name="chill_person_alt_name")
|
||||
*
|
||||
* @ORM\Entity
|
||||
*/
|
||||
class PersonAltName
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
*
|
||||
* @ORM\Column(name="id", type="integer")
|
||||
*
|
||||
* @ORM\Id
|
||||
*
|
||||
* @ORM\GeneratedValue(strategy="AUTO")
|
||||
*/
|
||||
private ?int $id = null;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*
|
||||
* @ORM\Column(name="key", type="string", length=255)
|
||||
*
|
||||
* @Groups({"write"})
|
||||
*/
|
||||
private ?string $key = null;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*
|
||||
* @ORM\Column(name="label", type="text")
|
||||
*
|
||||
* @Groups({"write"})
|
||||
*/
|
||||
private ?string $label = null;
|
||||
@@ -121,7 +120,7 @@ class PersonAltName
|
||||
/**
|
||||
* @return $this
|
||||
*/
|
||||
public function setPerson(?Person $person = null)
|
||||
public function setPerson(Person $person = null)
|
||||
{
|
||||
$this->person = $person;
|
||||
|
||||
|
Reference in New Issue
Block a user