apply rector rules

This commit is contained in:
2023-07-28 02:40:02 +02:00
parent 157cdf6dfc
commit f570fe92a5
112 changed files with 252 additions and 562 deletions

View File

@@ -35,12 +35,11 @@ use function in_array;
class Participation implements ArrayAccess, HasCenterInterface, HasScopeInterface
{
/**
* @var Event
* @ORM\ManyToOne(
* targetEntity="Chill\EventBundle\Entity\Event",
* inversedBy="participations")
*/
private $event;
private ?\Chill\EventBundle\Entity\Event $event = null;
/**
* @var int
@@ -52,28 +51,24 @@ class Participation implements ArrayAccess, HasCenterInterface, HasScopeInterfac
private $id;
/**
* @var DateTime
* @ORM\Column(type="datetime")
*/
private $lastUpdate;
private ?\DateTime $lastUpdate = null;
/**
* @var Person
* @ORM\ManyToOne(targetEntity="Chill\PersonBundle\Entity\Person")
*/
private $person;
private ?\Chill\PersonBundle\Entity\Person $person = null;
/**
* @var Role
* @ORM\ManyToOne(targetEntity="Chill\EventBundle\Entity\Role")
*/
private $role;
private ?\Chill\EventBundle\Entity\Role $role = null;
/**
* @var Status
* @ORM\ManyToOne(targetEntity="Chill\EventBundle\Entity\Status")
*/
private $status;
private ?\Chill\EventBundle\Entity\Status $status = null;
/**
* @return Center