mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-06 23:04:58 +00:00
apply more cs rules for php-cs
This commit is contained in:
@@ -32,7 +32,6 @@ class CommentEmbeddable
|
||||
/**
|
||||
* Embeddable does not support associations.
|
||||
*
|
||||
* @var int
|
||||
* @ORM\Column(type="integer", nullable=true)
|
||||
*/
|
||||
private ?int $userId = null;
|
||||
@@ -43,7 +42,7 @@ class CommentEmbeddable
|
||||
}
|
||||
|
||||
/**
|
||||
* @return DateTime
|
||||
* @return \DateTime
|
||||
*/
|
||||
public function getDate()
|
||||
{
|
||||
@@ -65,10 +64,7 @@ class CommentEmbeddable
|
||||
$this->comment = $comment;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param DateTime $date
|
||||
*/
|
||||
public function setDate(?DateTime $date)
|
||||
public function setDate(?\DateTime $date)
|
||||
{
|
||||
$this->date = $date;
|
||||
}
|
||||
|
Reference in New Issue
Block a user