Merge pull request #6599 from colemanw/CRM-16512
[civicrm-core.git] / CRM / Group / StateMachine.php
index 12db034fe027ea7fcccc2992001ddaf7582defd5..e4882e2482a6d6578f9b55da2fb4d32c613dd2cc 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014                                |
+ | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
  | 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$
  *
  */
 class CRM_Group_StateMachine extends CRM_Core_StateMachine {
 
   /**
-   * class constructor
+   * Class constructor.
+   *
+   * @param object $controller
+   * @param \const|int $action
    */
-  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 +54,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');
   }
-}
 
+}