| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
class CRM_Upgrade_StateMachine extends CRM_Core_StateMachine {
/**
- * Class constructor
+ * Class constructor.
*
* @param object $controller
* @param const $pages
* @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);
}
-}
+}