projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #14363 from mfb/error-msg
[civicrm-core.git]
/
CRM
/
Core
/
StateMachine.php
diff --git
a/CRM/Core/StateMachine.php
b/CRM/Core/StateMachine.php
index 4b4679324016caf3a6deba0c221e9ed71e550fb1..d4f7407f6fbd83834927a226150fac7a5d0a8e42 100644
(file)
--- a/
CRM/Core/StateMachine.php
+++ b/
CRM/Core/StateMachine.php
@@
-3,7
+3,7
@@
+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
8
|
+ | Copyright CiviCRM LLC (c) 2004-201
9
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-28,7
+28,7
@@
/**
*
* @package CRM
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-201
8
+ * @copyright CiviCRM LLC (c) 2004-201
9
*/
/**
*/
/**
@@
-94,7
+94,7
@@
class CRM_Core_StateMachine {
$this->_controller = &$controller;
$this->_action = $action;
$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->_pages = &$pages;
$numPages = count($pages);
- $this->_pageNames =
array()
;
+ $this->_pageNames =
[]
;
foreach ($pages as $tempName => $value) {
if (!empty($value['className'])) {
$this->_pageNames[] = $tempName;
foreach ($pages as $tempName => $value) {
if (!empty($value['className'])) {
$this->_pageNames[] = $tempName;