Index: trunk/phase3/includes/Xml.php |
— | — | @@ -620,7 +620,7 @@ |
621 | 621 | * Create a call to a JavaScript function. The supplied arguments will be |
622 | 622 | * encoded using Xml::encodeJsVar(). |
623 | 623 | * |
624 | | - * @param $name The name of the function to call, or a JavaScript expression |
| 624 | + * @param $name String The name of the function to call, or a JavaScript expression |
625 | 625 | * which evaluates to a function object which is called. |
626 | 626 | * @param $args Array of arguments to pass to the function. |
627 | 627 | * @since 1.17 |
Index: trunk/phase3/includes/resourceloader/ResourceLoaderUserOptionsModule.php |
— | — | @@ -109,6 +109,10 @@ |
110 | 110 | return array(); |
111 | 111 | } |
112 | 112 | |
| 113 | + /** |
| 114 | + * @param $context ResourceLoaderContext |
| 115 | + * @return bool |
| 116 | + */ |
113 | 117 | public function getFlip( $context ) { |
114 | 118 | global $wgContLang; |
115 | 119 | |
Index: trunk/phase3/includes/resourceloader/ResourceLoaderModule.php |
— | — | @@ -58,6 +58,7 @@ |
59 | 59 | |
60 | 60 | /** |
61 | 61 | * Get whether CSS for this module should be flipped |
| 62 | + * @param $context ResourceLoaderContext |
62 | 63 | */ |
63 | 64 | public function getFlip( $context ) { |
64 | 65 | return $context->getDirection() === 'rtl'; |
Index: trunk/phase3/languages/Language.php |
— | — | @@ -132,6 +132,8 @@ |
133 | 133 | |
134 | 134 | /** |
135 | 135 | * Get a cached language object for a given language code |
| 136 | + * @param $code String |
| 137 | + * @return Language |
136 | 138 | */ |
137 | 139 | static function factory( $code ) { |
138 | 140 | if ( !isset( self::$mLangObjCache[$code] ) ) { |
— | — | @@ -146,6 +148,8 @@ |
147 | 149 | |
148 | 150 | /** |
149 | 151 | * Create a language object for a given language code |
| 152 | + * @param $code String |
| 153 | + * @return Language |
150 | 154 | */ |
151 | 155 | protected static function newFromCode( $code ) { |
152 | 156 | global $IP; |