diff --git a/application/cmdbabstract.class.inc.php b/application/cmdbabstract.class.inc.php index d0edfdbde..7f7ea9edc 100644 --- a/application/cmdbabstract.class.inc.php +++ b/application/cmdbabstract.class.inc.php @@ -392,6 +392,18 @@ EOF $this->aFieldsMap[$sAttCode] = $sInputId; } + /** + * @param \WebPage $oPage + * @param bool $bEditMode + * + * @throws \CoreException + * @throws \CoreUnexpectedValue + * @throws \DictExceptionMissingString + * @throws \MissingQueryArgument + * @throws \MySQLException + * @throws \MySQLHasGoneAwayException + * @throws \OQLException + */ function DisplayBareRelations(WebPage $oPage, $bEditMode = false) { $aRedundancySettings = $this->FindVisibleRedundancySettings(); diff --git a/core/action.class.inc.php b/core/action.class.inc.php index 277995f3d..d7ff9d367 100644 --- a/core/action.class.inc.php +++ b/core/action.class.inc.php @@ -223,7 +223,14 @@ class ActionEmail extends ActionNotification return implode(', ', $aRecipients); } - + /** + * @param \Trigger $oTrigger + * @param array $aContextArgs + * + * @throws \CoreException + * @throws \CoreUnexpectedValue + * @throws \CoreWarning + */ public function DoExecute($oTrigger, $aContextArgs) { if (MetaModel::IsLogEnabledNotification()) @@ -292,6 +299,14 @@ class ActionEmail extends ActionNotification } + /** + * @param \Trigger $oTrigger + * @param array $aContextArgs + * @param \EventNotification $oLog + * + * @return string + * @throws \CoreException + */ protected function _DoExecute($oTrigger, $aContextArgs, &$oLog) { $sPreviousUrlMaker = ApplicationContext::SetUrlMakerClass();