Merge "Http::getProxy() method to get proxy configuration"
[lhc/web/wiklou.git] / includes / Feed.php
index 2133dae..8bfe1c7 100644 (file)
@@ -248,12 +248,12 @@ abstract class ChannelFeed extends FeedItem {
                global $wgRequest;
 
                $ctype = $wgRequest->getVal( 'ctype', 'application/xml' );
-               $allowedctypes = array(
+               $allowedctypes = [
                        'application/xml',
                        'text/xml',
                        'application/rss+xml',
                        'application/atom+xml'
-               );
+               ];
 
                return ( in_array( $ctype, $allowedctypes ) ? $ctype : 'application/xml' );
        }