dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Convert all array() syntax to []
[lhc/web/wiklou.git]
/
includes
/
htmlform
/
HTMLSelectNamespace.php
diff --git
a/includes/htmlform/HTMLSelectNamespace.php
b/includes/htmlform/HTMLSelectNamespace.php
index
597c27a
..
ef21969
100644
(file)
--- a/
includes/htmlform/HTMLSelectNamespace.php
+++ b/
includes/htmlform/HTMLSelectNamespace.php
@@
-14,23
+14,23
@@
class HTMLSelectNamespace extends HTMLFormField {
function getInputHTML( $value ) {
return Html::namespaceSelector(
function getInputHTML( $value ) {
return Html::namespaceSelector(
- array(
+ [
'selected' => $value,
'all' => $this->mAllValue
'selected' => $value,
'all' => $this->mAllValue
- ), array(
+ ], [
'name' => $this->mName,
'id' => $this->mID,
'class' => 'namespaceselector',
'name' => $this->mName,
'id' => $this->mID,
'class' => 'namespaceselector',
- )
+ ]
);
}
public function getInputOOUI( $value ) {
);
}
public function getInputOOUI( $value ) {
- return new MediaWiki\Widget\NamespaceInputWidget(
array(
+ return new MediaWiki\Widget\NamespaceInputWidget(
[
'value' => $value,
'name' => $this->mName,
'id' => $this->mID,
'includeAllValue' => $this->mAllValue,
'value' => $value,
'name' => $this->mName,
'id' => $this->mID,
'includeAllValue' => $this->mAllValue,
-
)
);
+
]
);
}
}
}
}