X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FError.php;h=763a2605d391bc7a979eb4c831467b8a4c37a29d;hb=af056369b8e3d2c5a248dfd8a72934ccdf262e86;hp=a131be146a9e909b5974bd01b3e783c8bf7126b7;hpb=33a04c98c0f0aca9d490500763b9e3d15785dc72;p=civicrm-core.git diff --git a/CRM/Core/Error.php b/CRM/Core/Error.php index a131be146a..763a2605d3 100644 --- a/CRM/Core/Error.php +++ b/CRM/Core/Error.php @@ -242,9 +242,9 @@ class CRM_Core_Error extends PEAR_ErrorStack { } /** - * this function is used to return error details + * This function is used to return error details * - * @param $pearError + * @param PEAR_Error $pearError * * @return array $error */ @@ -452,7 +452,7 @@ class CRM_Core_Error extends PEAR_ErrorStack { * so we can interrupt a potential POST/redirect * * @param string $name name of debug section - * @param $variable mixed reference to variables that we need a trace of + * @param mixed $variable reference to variables that we need a trace of * @param bool $log should we log or return the output * @param bool $html whether to generate a HTML-escaped output * @param bool $checkPermission should we check permissions before displaying output @@ -902,9 +902,8 @@ class CRM_Core_Error extends PEAR_ErrorStack { * * @param string $status * The status message to set. - * - * @param null $redirect - * @param string $title + * @param string|null $redirect + * @param string|null $title */ public static function statusBounce($status, $redirect = NULL, $title = NULL) { $session = CRM_Core_Session::singleton(); @@ -934,7 +933,7 @@ class CRM_Core_Error extends PEAR_ErrorStack { /** * PEAR error-handler which converts errors to exceptions * - * @param $pearError + * @param PEAR_Error $pearError * @throws PEAR_Exception */ public static function exceptionHandler($pearError) {