mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-01 04:23:49 +00:00
apply rector rules
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
Reference in New Issue
Block a user