X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FStateMachine.php;h=d4f7407f6fbd83834927a226150fac7a5d0a8e42;hb=096b1764da9d4ba2b16186f3311e57f0decca89c;hp=a78a3e545075e2e5188c4e742b553bfc75fcb476;hpb=3bbe587eca52e262562cd1b06484eefa30480a08;p=civicrm-core.git diff --git a/CRM/Core/StateMachine.php b/CRM/Core/StateMachine.php index a78a3e5450..d4f7407f6f 100644 --- a/CRM/Core/StateMachine.php +++ b/CRM/Core/StateMachine.php @@ -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;