From: Jon goldberg Date: Tue, 28 Apr 2015 23:17:22 +0000 (-0600) Subject: CRM-13283 - civilint fixes on Check.php X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=fd66a33350881788aec6ed9ebd944e0a2ac55fba;p=civicrm-core.git CRM-13283 - civilint fixes on Check.php --- diff --git a/CRM/Utils/Check.php b/CRM/Utils/Check.php index 11e02554b8..6a2feb452c 100644 --- a/CRM/Utils/Check.php +++ b/CRM/Utils/Check.php @@ -95,7 +95,7 @@ class CRM_Utils_Check { if (count($statusMessages)) { if (count($statusMessages) > 1) { $statusTitle = ts('Multiple Alerts'); - $statusMessage = ''; + $statusMessage = ''; } // TODO: add link to status page @@ -110,7 +110,7 @@ class CRM_Utils_Check { * * @param CRM_Utils_Check_Message $a * @param CRM_Utils_Check_Message $b - * @return integer + * @return int */ public function severitySort($a, $b) { $aSeverity = $a->getSeverity(); @@ -124,7 +124,7 @@ class CRM_Utils_Check { /** * Get the integer value (useful for thresholds) of the severity. * - * @param integer|const $severity + * @param int|const $severity * the value to look up * @param bool $reverse * whether to find the constant from the integer @@ -184,7 +184,7 @@ class CRM_Utils_Check { * Array of messages * @link https://api.drupal.org/api/drupal/modules%21system%21system.api.php/function/hook_requirements */ - public function checkAll($showHushed = false) { + public function checkAll($showHushed = FALSE) { $checks = array(); $checks[] = new CRM_Utils_Check_Security(); $checks[] = new CRM_Utils_Check_Env();