Fix possible null values or not null values in some entity / string properties

This commit is contained in:
2023-10-17 23:15:06 +02:00
parent d54d34be7c
commit 9ec5a633ad
10 changed files with 30 additions and 29 deletions

View File

@@ -49,7 +49,7 @@ class Charge extends AbstractElement implements HasCentersInterface
/**
* @ORM\Column(name="help", type="string", nullable=true)
*/
private string $help = self::HELP_NOT_RELEVANT;
private ?string $help = self::HELP_NOT_RELEVANT;
/**
* @ORM\Column(name="id", type="integer")