Requirement: Fix exception throw

This commit is contained in:
Sukhwinder Dhillon 2023-08-16 11:06:32 +02:00 committed by raviks789
parent dae38414f8
commit b755650256
1 changed files with 1 additions and 1 deletions

View File

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