mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 02:23:51 +00:00
apply rector rules
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user