X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FCheck.php;h=4f3cd176c0d7e05fee8d0652a82a076957032a6f;hb=23de1ac098f62001327fc1bd6aac2db04ee327a3;hp=0d91df745b6208a74bde69144b03a4921e7e78a9;hpb=6f2500ee7589360102875df4367568fe87485df6;p=civicrm-core.git diff --git a/CRM/Utils/Check.php b/CRM/Utils/Check.php index 0d91df745b..4f3cd176c0 100644 --- a/CRM/Utils/Check.php +++ b/CRM/Utils/Check.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2014 | + | Copyright CiviCRM LLC (c) 2004-2015 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -23,12 +23,12 @@ | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ -*/ + */ /** * * @package CRM - * @copyright CiviCRM LLC (c) 2004-2014 + * @copyright CiviCRM LLC (c) 2004-2015 * $Id: $ * */ @@ -42,7 +42,6 @@ class CRM_Utils_Check { * singleton pattern and cache the instance in this variable * * @var object - * @static */ static private $_singleton = NULL; @@ -59,7 +58,7 @@ class CRM_Utils_Check { } /** - * Execute "checkAll" + * Execute "checkAll". * * @param array|NULL $messages list of CRM_Utils_Check_Message; or NULL if the default list should be fetched */ @@ -85,7 +84,7 @@ class CRM_Utils_Check { } /** - * Throw an exception if any of the checks fail + * Throw an exception if any of the checks fail. * * @param array|NULL $messages list of CRM_Utils_Check_Message; or NULL if the default list should be fetched * @@ -114,7 +113,8 @@ class CRM_Utils_Check { * We might even expose the results of these checks on the Wordpress * plugin status page or the Drupal admin/reports/status path. * - * @return array of messages + * @return array + * Array of messages * @link https://api.drupal.org/api/drupal/modules%21system%21system.api.php/function/hook_requirements */ public function checkAll() {