Fix default implementation of ResourceLoaderModule::getStyles() to return an array...
authorRoan Kattouw <catrope@users.mediawiki.org>
Sun, 27 Mar 2011 14:13:57 +0000 (14:13 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Sun, 27 Mar 2011 14:13:57 +0000 (14:13 +0000)
includes/resourceloader/ResourceLoaderModule.php

index 6f0d075..73fcddf 100644 (file)
@@ -135,7 +135,7 @@ abstract class ResourceLoaderModule {
         */
        public function getStyles( ResourceLoaderContext $context ) {
                // Stub, override expected
-               return '';
+               return array();
        }
 
        /**