Merge pull request #6125 from colemanw/CRM-16426-2
[civicrm-core.git] / CRM / Upgrade / StateMachine.php
index 815dbbc9c92f5b6094084e1816d689592baa3535..fcdebf653aeb04756b17ca015ef4adb168032768 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$
  *
  */
@@ -40,7 +40,7 @@
 class CRM_Upgrade_StateMachine extends CRM_Core_StateMachine {
 
   /**
-   * class constructor
+   * Class constructor.
    *
    * @param object $controller
    * @param const $pages
@@ -49,12 +49,12 @@ class CRM_Upgrade_StateMachine extends CRM_Core_StateMachine {
    * @internal param \CRM_Upgrade_Controller_base $object
    * @return \CRM_Upgrade_StateMachine CRM_Upgrade_StateMachine_Base
    */
-  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);
   }
-}
 
+}