Merge pull request #5226 from davecivicrm/CRM-15578
[civicrm-core.git] / CRM / Utils / Check / Message.php
index 1dfb818ce74eac3ca3b65118480c7db451d9c59e..6bb6bafb4b37301a7fd3a98ac52efa531beb0f84 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
@@ -49,11 +49,11 @@ class CRM_Utils_Check_Message {
   private $title;
 
   /**
-   * @param $name
+   * @param string $name
    * @param $message
    * @param $title
    */
-  function __construct($name, $message, $title) {
+  public function __construct($name, $message, $title) {
     $this->name = $name;
     $this->message = $message;
     $this->title = $title;
@@ -62,14 +62,14 @@ class CRM_Utils_Check_Message {
   /**
    * @return string
    */
-  function getName() {
+  public function getName() {
     return $this->name;
   }
 
   /**
    * @return string
    */
-  function getMessage() {
+  public function getMessage() {
     return $this->message;
   }
 
@@ -83,11 +83,12 @@ class CRM_Utils_Check_Message {
   /**
    * @return array
    */
-  function toArray() {
+  public function toArray() {
     return array(
       'name' => $this->name,
       'message' => $this->message,
       'title' => $this->title,
     );
   }
+
 }