From fd66a33350881788aec6ed9ebd944e0a2ac55fba Mon Sep 17 00:00:00 2001 From: Jon goldberg Date: Tue, 28 Apr 2015 17:17:22 -0600 Subject: [PATCH] CRM-13283 - civilint fixes on Check.php --- CRM/Utils/Check.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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(); -- 2.25.1