X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialMergeHistory.php;h=b916c1fc7860bfe2ed35ade8733dd90dcad0b6a9;hb=f47b7d6afc77ad8b08ba803289852f7c11ea1905;hp=0cefb3892066704bba7c3197c12ca1223237b342;hpb=ffacfb7be40454c98ae73f6b92bf9836c68ff53c;p=lhc%2Fweb%2Fwiklou.git
diff --git a/includes/specials/SpecialMergeHistory.php b/includes/specials/SpecialMergeHistory.php
index 0cefb38920..b916c1fc78 100644
--- a/includes/specials/SpecialMergeHistory.php
+++ b/includes/specials/SpecialMergeHistory.php
@@ -126,7 +126,7 @@ class SpecialMergeHistory extends SpecialPage {
return;
}
- $errors = array();
+ $errors = [];
if ( !$this->mTargetObj instanceof Title ) {
$errors[] = $this->msg( 'mergehistory-invalid-source' )->parseAsBlock();
} elseif ( !$this->mTargetObj->exists() ) {
@@ -160,11 +160,11 @@ class SpecialMergeHistory extends SpecialPage {
$out->addWikiMsg( 'mergehistory-header' );
$out->addHTML(
- Xml::openElement( 'form', array(
+ Xml::openElement( 'form', [
'method' => 'get',
- 'action' => wfScript() ) ) .
+ 'action' => wfScript() ] ) .
'