if (count($statusMessages)) {
if (count($statusMessages) > 1) {
$statusTitle = ts('Multiple Alerts');
- $statusMessage = '<ul><li>' . implode('</li><li>',$statusMessages) . '</li></ul>';
+ $statusMessage = '<ul><li>' . implode('</li><li>', $statusMessages) . '</li></ul>';
}
// TODO: add link to status page
*
* @param CRM_Utils_Check_Message $a
* @param CRM_Utils_Check_Message $b
- * @return integer
+ * @return int
*/
public function severitySort($a, $b) {
$aSeverity = $a->getSeverity();
/**
* 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
* 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();