From b755650256d82f7b2a040fdc595a3abd3cf69ee9 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Wed, 16 Aug 2023 11:06:32 +0200 Subject: [PATCH] Requirement: Fix exception throw --- modules/setup/library/Setup/Requirement.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/setup/library/Setup/Requirement.php b/modules/setup/library/Setup/Requirement.php index fd1640569..1df02ef27 100644 --- a/modules/setup/library/Setup/Requirement.php +++ b/modules/setup/library/Setup/Requirement.php @@ -90,7 +90,7 @@ abstract class Requirement } elseif (method_exists($this, $addMethod)) { $this->$addMethod($value); } else { - throw LogicException('No setter found for option key: ' . $key); + throw new LogicException('No setter found for option key: ' . $key); } } }