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

@@ -24,10 +24,9 @@ use Doctrine\ORM\Mapping as ORM;
class PersonNotDuplicate
{
/**
* @var DateTime
* @ORM\Column(type="datetime")
*/
private $date;
private \DateTime $date;
/**
* The person's id.
@@ -41,25 +40,19 @@ class PersonNotDuplicate
private $id;
/**
* @var Person
*
* @ORM\ManyToOne(targetEntity="Chill\PersonBundle\Entity\Person")
*/
private $person1;
private ?\Chill\PersonBundle\Entity\Person $person1 = null;
/**
* @var Person
*
* @ORM\ManyToOne(targetEntity="Chill\PersonBundle\Entity\Person")
*/
private $person2;
private ?\Chill\PersonBundle\Entity\Person $person2 = null;
/**
* @var User
*
* @ORM\ManyToOne(targetEntity="Chill\MainBundle\Entity\User")
*/
private $user;
private ?\Chill\MainBundle\Entity\User $user = null;
public function __construct()
{