Fix typing errors in customfieldbundle

This commit is contained in:
2024-10-01 10:35:38 +02:00
parent 06d6227d0e
commit 376ce59917
2 changed files with 3 additions and 6 deletions

View File

@@ -46,11 +46,8 @@ class CustomFieldsGroup
#[ORM\GeneratedValue(strategy: 'AUTO')]
private ?int $id = null;
/**
* @var array
*/
#[ORM\Column(type: \Doctrine\DBAL\Types\Types::JSON)]
private $name;
private array|string $name;
#[ORM\Column(type: \Doctrine\DBAL\Types\Types::JSON)]
private array $options = [];