mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-01 04:23:49 +00:00
apply more cs rules for php-cs
This commit is contained in:
@@ -19,6 +19,7 @@ use Doctrine\ORM\Mapping as ORM;
|
||||
* PersonNotDuplicate.
|
||||
*
|
||||
* @ORM\Table(name="chill_person_not_duplicate")
|
||||
*
|
||||
* @ORM\Entity
|
||||
*/
|
||||
class PersonNotDuplicate
|
||||
@@ -31,10 +32,10 @@ class PersonNotDuplicate
|
||||
/**
|
||||
* The person's id.
|
||||
*
|
||||
* @var int
|
||||
*
|
||||
* @ORM\Id
|
||||
*
|
||||
* @ORM\Column(name="id", type="integer")
|
||||
*
|
||||
* @ORM\GeneratedValue(strategy="AUTO")
|
||||
*/
|
||||
private ?int $id = null;
|
||||
@@ -56,7 +57,7 @@ class PersonNotDuplicate
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->date = new DateTime();
|
||||
$this->date = new \DateTime();
|
||||
}
|
||||
|
||||
public function getDate()
|
||||
@@ -84,7 +85,7 @@ class PersonNotDuplicate
|
||||
return $this->user;
|
||||
}
|
||||
|
||||
public function setDate(DateTime $date)
|
||||
public function setDate(\DateTime $date)
|
||||
{
|
||||
$this->date = $date;
|
||||
}
|
||||
|
Reference in New Issue
Block a user