Index: trunk/phase3/includes/libs/CSSJanus.php |
— | — | @@ -117,9 +117,9 @@ |
118 | 118 | |
119 | 119 | /** |
120 | 120 | * Transform an LTR stylesheet to RTL |
121 | | - * @param string $css Stylesheet to transform |
122 | | - * @param bool $swapLtrRtlInURL If true, swap 'ltr' and 'rtl' in URLs |
123 | | - * @param bool $swapLeftRightInURL If true, swap 'left' and 'right' in URLs |
| 121 | + * @param $css String: stylesheet to transform |
| 122 | + * @param $swapLtrRtlInURL Boolean: If true, swap 'ltr' and 'rtl' in URLs |
| 123 | + * @param $swapLeftRightInURL Boolean: If true, swap 'left' and 'right' in URLs |
124 | 124 | * @return Transformed stylesheet |
125 | 125 | */ |
126 | 126 | public static function transform( $css, $swapLtrRtlInURL = false, $swapLeftRightInURL = false ) { |
— | — | @@ -288,7 +288,7 @@ |
289 | 289 | /** |
290 | 290 | * Replace all occurrences of $regex in $str with a token and remember |
291 | 291 | * the original strings. |
292 | | - * @param $str string String to tokenize |
| 292 | + * @param $str String to tokenize |
293 | 293 | * @return string Tokenized string |
294 | 294 | */ |
295 | 295 | public function tokenize( $str ) { |
— | — | @@ -303,7 +303,7 @@ |
304 | 304 | /** |
305 | 305 | * Replace tokens with their originals. If multiple strings were tokenized, it's important they be |
306 | 306 | * detokenized in exactly the SAME ORDER. |
307 | | - * @param string $str String previously run through tokenize() |
| 307 | + * @param $str String: previously run through tokenize() |
308 | 308 | * @return string Original string |
309 | 309 | */ |
310 | 310 | public function detokenize( $str ) { |