Rector: apply rules for doctrine code quality

This commit is contained in:
2023-08-31 10:35:52 +02:00
parent bc9b7b1776
commit e4e52234ad
32 changed files with 74 additions and 92 deletions

View File

@@ -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.