mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-04 22:04:59 +00:00
Rector: apply rules for doctrine code quality
This commit is contained in:
@@ -24,9 +24,9 @@ class Status
|
||||
{
|
||||
/**
|
||||
* @var bool
|
||||
* @ORM\Column(type="boolean")
|
||||
* @ORM\Column(type="boolean", nullable=false)
|
||||
*/
|
||||
private $active;
|
||||
private bool $active = true;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
@@ -35,7 +35,7 @@ class Status
|
||||
* @ORM\Column(name="id", type="integer")
|
||||
* @ORM\GeneratedValue(strategy="AUTO")
|
||||
*/
|
||||
private $id;
|
||||
private ?int $id = null;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
|
Reference in New Issue
Block a user