fix: noverify --fix
This commit is contained in:
parent
5aff28d2b8
commit
117640a755
44 changed files with 174 additions and 174 deletions
|
|
@ -15,7 +15,7 @@ class Top extends Composite
|
|||
|
||||
public function getTitle()
|
||||
{
|
||||
return implode(" - ", array_filter($this->doTree('_title', false), array($this, 'isNotNull')));
|
||||
return implode(" - ", array_filter($this->doTree('_title', false), [$this, 'isNotNull']));
|
||||
}
|
||||
|
||||
function getId($pref)
|
||||
|
|
@ -39,10 +39,10 @@ class Top extends Composite
|
|||
$this->set('scripts', array_unique($this->getScripts()));
|
||||
$this->set('stylesheet', array_unique($this->getStyleSheet()));
|
||||
|
||||
$this->require = array('admin' => 'ma');
|
||||
$this->deps = array();
|
||||
$this->require = ['admin' => 'ma'];
|
||||
$this->deps = [];
|
||||
|
||||
$startup = array();
|
||||
$startup = [];
|
||||
foreach ($this->_section as $s) {
|
||||
if (is_string($s)) {
|
||||
continue;
|
||||
|
|
@ -67,7 +67,7 @@ class Top extends Composite
|
|||
$script .= $value . "." . $key . " = " . json_encode($v /*, JSON_PRETTY_PRINT*/) . ";\n";
|
||||
}
|
||||
|
||||
$init = array();
|
||||
$init = [];
|
||||
foreach ($s->_section as $key => $item) {
|
||||
$ss /*: View*/= $item;
|
||||
if ($ss->codeGenerator !== null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue