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); } } }