Index: trunk/phase3/includes/resourceloader/ResourceLoader.php |
— | — | @@ -143,6 +143,7 @@ |
144 | 144 | return $cacheEntry; |
145 | 145 | } |
146 | 146 | |
| 147 | + $result = ''; |
147 | 148 | // Run the filter - we've already verified one of these will work |
148 | 149 | try { |
149 | 150 | switch ( $filter ) { |
— | — | @@ -253,7 +254,7 @@ |
254 | 255 | * Get the ResourceLoaderModule object for a given module name. |
255 | 256 | * |
256 | 257 | * @param $name String: Module name |
257 | | - * @return Mixed: ResourceLoaderModule if module has been registered, null otherwise |
| 258 | + * @return ResourceLoaderModule if module has been registered, null otherwise |
258 | 259 | */ |
259 | 260 | public function getModule( $name ) { |
260 | 261 | if ( !isset( $this->modules[$name] ) ) { |
Index: trunk/phase3/includes/resourceloader/ResourceLoaderStartUpModule.php |
— | — | @@ -27,7 +27,11 @@ |
28 | 28 | protected $modifiedTime = array(); |
29 | 29 | |
30 | 30 | /* Protected Methods */ |
31 | | - |
| 31 | + |
| 32 | + /** |
| 33 | + * @param $context ResourceLoaderContext |
| 34 | + * @return array |
| 35 | + */ |
32 | 36 | protected function getConfig( $context ) { |
33 | 37 | global $wgLoadScript, $wgScript, $wgStylePath, $wgScriptExtension, |
34 | 38 | $wgArticlePath, $wgScriptPath, $wgServer, $wgContLang, |
Index: trunk/phase3/includes/resourceloader/ResourceLoaderWikiModule.php |
— | — | @@ -44,7 +44,11 @@ |
45 | 45 | abstract protected function getPages( ResourceLoaderContext $context ); |
46 | 46 | |
47 | 47 | /* Protected Methods */ |
48 | | - |
| 48 | + |
| 49 | + /** |
| 50 | + * @param $title Title |
| 51 | + * @return null|string |
| 52 | + */ |
49 | 53 | protected function getContent( $title ) { |
50 | 54 | if ( $title->getNamespace() === NS_MEDIAWIKI ) { |
51 | 55 | $dbkey = $title->getDBkey(); |