}
/**
- * 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
*/
* 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
*
* @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();
/**
* PEAR error-handler which converts errors to exceptions
*
- * @param $pearError
+ * @param PEAR_Error $pearError
* @throws PEAR_Exception
*/
public static function exceptionHandler($pearError) {