Merge pull request #6456 from eileenmcnaughton/CRM-16993
[civicrm-core.git] / CRM / Upgrade / StateMachine.php
index 3d5b782924f1ccec299a2399726be1c50acb7141..89f750e6c950f264d77a0c65b6986fc0cce34e81 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$
  *
  */
 
 /**
- * State machine for managing different states of the Import process.
- *
+ * State machine for managing different states of the upgrade process.
  */
 class CRM_Upgrade_StateMachine extends CRM_Core_StateMachine {
 
   /**
-   * Class constructor
+   * Class constructor.
    *
-   * @param object $controller
-   * @param const $pages
-   * @param \const|int $action
+   * @param CRM_Upgrade_Controller $controller
+   * @param array $pages
+   * @param int $action
    *
-   * @internal param \CRM_Upgrade_Controller_base $object
-   * @return \CRM_Upgrade_StateMachine CRM_Upgrade_StateMachine_Base
+   * @return CRM_Upgrade_StateMachine
    */
-  function __construct(&$controller, &$pages, $action = CRM_Core_Action::NONE) {
+  public function __construct(&$controller, &$pages, $action = CRM_Core_Action::NONE) {
     parent::__construct($controller, $action);
 
     $this->_pages = &$pages;
 
     $this->addSequentialPages($this->_pages, $action);
   }
-}
 
+}