From abee1eaaf11311a7c918c43cc4573ed0b2d3be90 Mon Sep 17 00:00:00 2001 From: Antony Le Courtes <antony.lecourtes@unicaen.fr> Date: Mon, 3 Feb 2025 16:37:49 +0100 Subject: [PATCH] Typed property must not be accessed before initialization --- src/Entity/Db/Process.php | 2 +- src/Entity/Db/ProcessStep.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Entity/Db/Process.php b/src/Entity/Db/Process.php index e576482..74501c4 100644 --- a/src/Entity/Db/Process.php +++ b/src/Entity/Db/Process.php @@ -60,7 +60,7 @@ class Process * @var ?string * @ORM\Column (type="text", nullable=true) */ - private ?string $label; + private ?string $label = null; /** * @var SignatureFlow diff --git a/src/Entity/Db/ProcessStep.php b/src/Entity/Db/ProcessStep.php index 5b498b2..3223211 100644 --- a/src/Entity/Db/ProcessStep.php +++ b/src/Entity/Db/ProcessStep.php @@ -39,7 +39,7 @@ class ProcessStep * @var ?string * @ORM\Column (type="text", nullable=true) */ - private ?string $label; + private ?string $label = null; /** -- GitLab