X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FImport%2FStateMachine.php;h=2f213198db610184c7efbb65f8afd75f8aedc3c5;hb=c7c449f80eed9dfc2de83dbad89bf6fd6ec98120;hp=17329b8f28726d098b8001dfd8a466ca84722ab2;hpb=832f3e1f078d2ae5fcd1ea70276f16716080af6d;p=civicrm-core.git diff --git a/CRM/Import/StateMachine.php b/CRM/Import/StateMachine.php index 17329b8f28..2f213198db 100644 --- a/CRM/Import/StateMachine.php +++ b/CRM/Import/StateMachine.php @@ -46,12 +46,12 @@ class CRM_Import_StateMachine extends CRM_Core_StateMachine { parent::__construct($controller, $action); $classType = str_replace('_Controller', '', get_class($controller)); - $this->_pages = array( + $this->_pages = [ $classType . '_Form_DataSource' => NULL, $classType . '_Form_MapField' => NULL, $classType . '_Form_Preview' => NULL, $classType . '_Form_Summary' => NULL, - ); + ]; $this->addSequentialPages($this->_pages, $action); }