mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-02 04:53:49 +00:00
Rector: apply rules for doctrine code quality
This commit is contained in:
@@ -45,7 +45,7 @@ class CustomField
|
||||
* @ORM\Column(name="id", type="integer")
|
||||
* @ORM\GeneratedValue(strategy="AUTO")
|
||||
*/
|
||||
private $id;
|
||||
private ?int $id = null;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
@@ -64,7 +64,7 @@ class CustomField
|
||||
*
|
||||
* @ORM\Column(type="float")
|
||||
*/
|
||||
private $ordering;
|
||||
private ?float $ordering = null;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="boolean")
|
||||
@@ -76,14 +76,14 @@ class CustomField
|
||||
*
|
||||
* @ORM\Column(type="string", length=255)
|
||||
*/
|
||||
private $slug;
|
||||
private ?string $slug = null;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*
|
||||
* @ORM\Column(type="string", length=255)
|
||||
*/
|
||||
private $type;
|
||||
private ?string $type = null;
|
||||
|
||||
/**
|
||||
* Get customFieldGroup.
|
||||
|
Reference in New Issue
Block a user