jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/371032 )

Change subject: Minor fix for phan 0.8.5
......................................................................


Minor fix for phan 0.8.5

Array should be declared before usage.

Bug: T172935
Change-Id: I97d642b4c8c4b6610008b541bece0ad8eb2ff9cb
---
M includes/TwoColConflictPage.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Addshore: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/TwoColConflictPage.php b/includes/TwoColConflictPage.php
index 9f84306..c4377ed 100644
--- a/includes/TwoColConflictPage.php
+++ b/includes/TwoColConflictPage.php
@@ -250,7 +250,7 @@
        private function buildHiddenChangesTextbox( $wikiText ) {
                $name = 'mw-twocolconflict-hidden-editor';
 
-               $customAttribs['class'] = $name;
+               $customAttribs = [ 'class' => $name ];
                if ( $this->wikiEditorIsEnabled() ) {
                        $customAttribs['class'] .= ' 
mw-twocolconflict-wikieditor';
                }

-- 
To view, visit https://gerrit.wikimedia.org/r/371032
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I97d642b4c8c4b6610008b541bece0ad8eb2ff9cb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TwoColConflict
Gerrit-Branch: master
Gerrit-Owner: WMDE-Fisch <christoph.jau...@wikimedia.de>
Gerrit-Reviewer: Addshore <addshorew...@gmail.com>
Gerrit-Reviewer: Andrew-WMDE <andrew.kos...@wikimedia.de>
Gerrit-Reviewer: Tobias Gritschacher <tobias.gritschac...@wikimedia.de>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to