Convert all array() syntax to []
[lhc/web/wiklou.git] / includes / specialpage / PageQueryPage.php
index d72744b..97f004f 100644 (file)
@@ -65,7 +65,7 @@ abstract class PageQueryPage extends QueryPage {
                        $text = $wgContLang->convert( $title->getPrefixedText() );
                        return Linker::link( $title, htmlspecialchars( $text ) );
                } else {
-                       return Html::element( 'span', array( 'class' => 'mw-invalidtitle' ),
+                       return Html::element( 'span', [ 'class' => 'mw-invalidtitle' ],
                                Linker::getInvalidTitleDescription( $this->getContext(), $row->namespace, $row->title ) );
                }
        }