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

@@ -33,22 +33,19 @@ use Traversable;
class Event implements HasCenterInterface, HasScopeInterface
{
/**
* @var Center
* @ORM\ManyToOne(targetEntity="Chill\MainBundle\Entity\Center")
*/
private $center;
private ?\Chill\MainBundle\Entity\Center $center = null;
/**
* @var Scope
* @ORM\ManyToOne(targetEntity="Chill\MainBundle\Entity\Scope")
*/
private $circle;
private ?\Chill\MainBundle\Entity\Scope $circle = null;
/**
* @var DateTime
* @ORM\Column(type="datetime")
*/
private $date;
private ?\DateTime $date = null;
/**
* @var int
@@ -80,10 +77,9 @@ class Event implements HasCenterInterface, HasScopeInterface
private Collection $participations;
/**
* @var EventType
* @ORM\ManyToOne(targetEntity="Chill\EventBundle\Entity\EventType")
*/
private $type;
private ?\Chill\EventBundle\Entity\EventType $type = null;
/**
* Event constructor.