From 3363830eedd12e7ee075b7b90a4ff8a374632fce Mon Sep 17 00:00:00 2001 From: ramity Date: Mon, 8 Jan 2024 06:52:12 +0000 Subject: [PATCH] initialized value to null to avoid errors from uninit access --- src/Doctrine/EntityRelation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Doctrine/EntityRelation.php b/src/Doctrine/EntityRelation.php index adb3546d83..91db3effce 100644 --- a/src/Doctrine/EntityRelation.php +++ b/src/Doctrine/EntityRelation.php @@ -27,7 +27,7 @@ final class EntityRelation private bool $isSelfReferencing = false; private bool $orphanRemoval = false; private bool $mapInverseRelation = true; - private ?string $joinTableName; + private ?string $joinTableName = null; public function __construct( private string $type,