Merge "objectcache: Always use interim values on WAN cache tombstones"
[lhc/web/wiklou.git] / includes / widget / search / InterwikiSearchResultSetWidget.php
index ef93362..b4e3414 100644 (file)
@@ -123,7 +123,6 @@ class InterwikiSearchResultSetWidget implements SearchResultSetWidget {
         * @return string HTML
         */
        protected function footerHtml( $term, $iwPrefix ) {
-
                $href = Title::makeTitle( NS_SPECIAL, 'Search', null, $iwPrefix )->getLocalURL(
                        [ 'search' => $term, 'fulltext' => 1 ]
                );
@@ -169,16 +168,15 @@ class InterwikiSearchResultSetWidget implements SearchResultSetWidget {
         *
         * @param string $iwPrefix Interwiki prefix
         * @return OOUI\IconWidget
-        **/
+        */
        protected function iwIcon( $iwPrefix ) {
-
                $interwiki = $this->iwLookup->fetch( $iwPrefix );
                $parsed = wfParseUrl( wfExpandUrl( $interwiki ? $interwiki->getURL() : '/' ) );
 
                $iwIconUrl = $parsed['scheme'] .
                        $parsed['delimiter'] .
                        $parsed['host'] .
-                       ( isset ( $parsed['port'] ) ? ':' . $parsed['port'] : '' ) .
+                       ( isset( $parsed['port'] ) ? ':' . $parsed['port'] : '' ) .
                        '/favicon.ico';
 
                $iwIcon = new OOUI\IconWidget( [