From 0844032248a13384ac86220fae909f6173c3fd82 Mon Sep 17 00:00:00 2001 From: Jon Date: Sat, 4 Jul 2026 08:14:02 +0200 Subject: [PATCH] Added missing parent constructor calls --- src/Validator/Constraints/IdentityNumber.php | 2 ++ src/Validator/Constraints/OrganizationNumber.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/Validator/Constraints/IdentityNumber.php b/src/Validator/Constraints/IdentityNumber.php index 8bf10ff..bb2f675 100644 --- a/src/Validator/Constraints/IdentityNumber.php +++ b/src/Validator/Constraints/IdentityNumber.php @@ -21,6 +21,8 @@ public function __construct(?string $message = null, ?string $messageWithCoordin $this->messageWithCoordinationNumber = $messageWithCoordinationNumber ?? $this->messageWithCoordinationNumber; $this->allowCoordinationNumber = $allowCoordinationNumber ?? $this->allowCoordinationNumber; $this->strict = $strict ?? $this->strict; + + parent::__construct(); } public function validatedBy(): string diff --git a/src/Validator/Constraints/OrganizationNumber.php b/src/Validator/Constraints/OrganizationNumber.php index 7fd7d54..87cc753 100644 --- a/src/Validator/Constraints/OrganizationNumber.php +++ b/src/Validator/Constraints/OrganizationNumber.php @@ -21,6 +21,8 @@ public function __construct(?string $message = null, ?bool $strict = null, ?bool $this->strict = $strict ?? $this->strict; $this->allowPersonalIdNumber = $allowPersonalIdNumber ?? $this->allowPersonalIdNumber; $this->allowCoordinationNumber = $allowCoordinationNumber ?? $this->allowCoordinationNumber; + + parent::__construct(); } public function validatedBy(): string