$this->_controller = &$controller;
$this->_action = $action;
- $this->_states = array();
+ $this->_states = [];
}
/**
$this->_pages = &$pages;
$numPages = count($pages);
- $this->_pageNames = array();
+ $this->_pageNames = [];
foreach ($pages as $tempName => $value) {
if (!empty($value['className'])) {
$this->_pageNames[] = $tempName;