mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 18:43:49 +00:00
apply more cs rules for php-cs
This commit is contained in:
@@ -25,7 +25,9 @@ use Doctrine\ORM\Mapping as ORM;
|
||||
* Class Report.
|
||||
*
|
||||
* @ORM\Entity
|
||||
*
|
||||
* @ORM\Table(name="report")
|
||||
*
|
||||
* @ORM\HasLifecycleCallbacks
|
||||
*/
|
||||
class Report implements HasCenterInterface, HasScopeInterface
|
||||
@@ -47,10 +49,10 @@ class Report implements HasCenterInterface, HasScopeInterface
|
||||
private ?\DateTime $date = null;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*
|
||||
* @ORM\Id
|
||||
*
|
||||
* @ORM\Column(name="id", type="integer")
|
||||
*
|
||||
* @ORM\GeneratedValue(strategy="AUTO")
|
||||
*/
|
||||
private ?int $id = null;
|
||||
@@ -101,7 +103,7 @@ class Report implements HasCenterInterface, HasScopeInterface
|
||||
/**
|
||||
* Get date.
|
||||
*/
|
||||
public function getDate(): ?DateTime
|
||||
public function getDate(): ?\DateTime
|
||||
{
|
||||
return $this->date;
|
||||
}
|
||||
@@ -173,7 +175,7 @@ class Report implements HasCenterInterface, HasScopeInterface
|
||||
/**
|
||||
* Set date.
|
||||
*
|
||||
* @param DateTime $date
|
||||
* @param \DateTime $date
|
||||
*
|
||||
* @return Report
|
||||
*/
|
||||
|
Reference in New Issue
Block a user