Convert all array() syntax to []
[lhc/web/wiklou.git] / includes / search / SearchExactMatchRescorer.php
index 0ff628d..d3b9d5c 100644 (file)
@@ -101,7 +101,7 @@ class SearchExactMatchRescorer {
         *   that is a redirect to it.
         */
        private function redirectTargetsToRedirect( $titles ) {
-               $result = array();
+               $result = [];
                foreach ( $titles as $key => $titleText ) {
                        $title = Title::newFromText( $titleText );
                        if ( !$title || !$title->isRedirect() ) {