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

@@ -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
*/