X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FStateMachine.php;h=d4f7407f6fbd83834927a226150fac7a5d0a8e42;hb=4c5fa0aa16912868f9c1ac9b03b26b1eb9e34807;hp=4b4679324016caf3a6deba0c221e9ed71e550fb1;hpb=5e27028609a22fb01370d7ed1d7a9290ff27918f;p=civicrm-core.git diff --git a/CRM/Core/StateMachine.php b/CRM/Core/StateMachine.php index 4b46793240..d4f7407f6f 100644 --- a/CRM/Core/StateMachine.php +++ b/CRM/Core/StateMachine.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2018 | + | Copyright CiviCRM LLC (c) 2004-2019 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -28,7 +28,7 @@ /** * * @package CRM - * @copyright CiviCRM LLC (c) 2004-2018 + * @copyright CiviCRM LLC (c) 2004-2019 */ /** @@ -94,7 +94,7 @@ class CRM_Core_StateMachine { $this->_controller = &$controller; $this->_action = $action; - $this->_states = array(); + $this->_states = []; } /** @@ -262,7 +262,7 @@ class CRM_Core_StateMachine { $this->_pages = &$pages; $numPages = count($pages); - $this->_pageNames = array(); + $this->_pageNames = []; foreach ($pages as $tempName => $value) { if (!empty($value['className'])) { $this->_pageNames[] = $tempName;