mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-02 04:53:49 +00:00
apply rector rules
This commit is contained in:
@@ -27,20 +27,16 @@ class CustomField
|
||||
final public const ONE_TO_ONE = 1;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*
|
||||
* @ORM\Column(type="boolean")
|
||||
*/
|
||||
private $active = true;
|
||||
private bool $active = true;
|
||||
|
||||
/**
|
||||
* @var CustomFieldsGroup
|
||||
*
|
||||
* @ORM\ManyToOne(
|
||||
* targetEntity="Chill\CustomFieldsBundle\Entity\CustomFieldsGroup",
|
||||
* inversedBy="customFields")
|
||||
*/
|
||||
private $customFieldGroup;
|
||||
private ?\Chill\CustomFieldsBundle\Entity\CustomFieldsGroup $customFieldGroup = null;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
@@ -59,11 +55,9 @@ class CustomField
|
||||
private $name;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*
|
||||
* @ORM\Column(type="json")
|
||||
*/
|
||||
private $options = [];
|
||||
private array $options = [];
|
||||
|
||||
/**
|
||||
* @var float
|
||||
@@ -73,11 +67,9 @@ class CustomField
|
||||
private $ordering;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*
|
||||
* @ORM\Column(type="boolean")
|
||||
*/
|
||||
private $required = false;
|
||||
private false $required = false;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
|
Reference in New Issue
Block a user