Merge pull request #4983 from colemanw/CRM-15842
[civicrm-core.git] / CRM / Group / StateMachine.php
index 12db034fe027ea7fcccc2992001ddaf7582defd5..0cf651290c8011675650f1c9a5d6aa50b584d632 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        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
@@ -35,9 +35,9 @@
 class CRM_Group_StateMachine extends CRM_Core_StateMachine {
 
   /**
-   * class constructor
+   * Class constructor
    */
-  function __construct($controller, $action = CRM_Core_Action::NONE) {
+  public function __construct($controller, $action = CRM_Core_Action::NONE) {
     parent::__construct($controller, $action);
 
     $this->_pages = array(
@@ -51,13 +51,12 @@ class CRM_Group_StateMachine extends CRM_Core_StateMachine {
   }
 
   /**
-   * return the form name of the task. This is
+   * Return the form name of the task. This is
    *
    * @return string
-   * @access public
    */
-  function getTaskFormName() {
+  public function getTaskFormName() {
     return CRM_Utils_String::getClassName('CRM_Contact_Form_Task_AddToGroup');
   }
-}
 
+}