mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
Fix possible null values or not null values in some entity / string properties
This commit is contained in:
@@ -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")
|
||||
|
@@ -76,7 +76,7 @@ class ChargeKind
|
||||
return $this->isActive;
|
||||
}
|
||||
|
||||
public function getKind(): ?string
|
||||
public function getKind(): string
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
@@ -98,7 +98,7 @@ class ChargeKind
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function setKind(?string $kind): self
|
||||
public function setKind(string $kind): self
|
||||
{
|
||||
$this->kind = $kind;
|
||||
|
||||
|
Reference in New Issue
Block a user