apply more cs rules for php-cs

This commit is contained in:
2023-10-17 13:27:03 +02:00
parent 0b0cbed9db
commit bc2041cbdd
1485 changed files with 8169 additions and 9620 deletions

View File

@@ -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;
}