diff --git a/library/Director/Core/CoreApi.php b/library/Director/Core/CoreApi.php index 4a5fb38e..7589a7c7 100644 --- a/library/Director/Core/CoreApi.php +++ b/library/Director/Core/CoreApi.php @@ -457,6 +457,9 @@ constants )); } + /** + * @return IcingaCommand[] + */ public function getCheckCommandObjects() { IcingaCommand::setPluginDir($this->getConstant('PluginDir')); @@ -475,6 +478,9 @@ constants return $objects; } + /** + * @return IcingaCommand[] + */ public function getNotificationCommandObjects() { IcingaCommand::setPluginDir($this->getConstant('PluginDir'));