Index: trunk/phase3/includes/filerepo/file/FSFile.php |
— | — | @@ -196,7 +196,7 @@ |
197 | 197 | * Get the final file extension from a file system path |
198 | 198 | * |
199 | 199 | * @param $path string |
200 | | - * @returns string |
| 200 | + * @return string |
201 | 201 | */ |
202 | 202 | public static function extensionFromPath( $path ) { |
203 | 203 | $i = strrpos( $path, '.' ); |
Index: trunk/phase3/includes/HTMLForm.php |
— | — | @@ -1115,7 +1115,7 @@ |
1116 | 1116 | /** |
1117 | 1117 | * flatten an array of options to a single array, for instance, |
1118 | 1118 | * a set of <options> inside <optgroups>. |
1119 | | - * @param $options Associative Array with values either Strings |
| 1119 | + * @param $options array Associative Array with values either Strings |
1120 | 1120 | * or Arrays |
1121 | 1121 | * @return Array flattened input |
1122 | 1122 | */ |
Index: trunk/phase3/includes/Preferences.php |
— | — | @@ -509,10 +509,10 @@ |
510 | 510 | |
511 | 511 | /** |
512 | 512 | * @param $user User |
513 | | - * @param $context IContextSource |
| 513 | + * @param $context ContextSource |
514 | 514 | * @param $defaultPreferences Array |
515 | 515 | */ |
516 | | - static function filesPreferences( $user, IContextSource $context, &$defaultPreferences ) { |
| 516 | + static function filesPreferences( $user, ContextSource $context, &$defaultPreferences ) { |
517 | 517 | ## Files ##################################### |
518 | 518 | $defaultPreferences['imagesize'] = array( |
519 | 519 | 'type' => 'select', |
— | — | @@ -530,11 +530,11 @@ |
531 | 531 | |
532 | 532 | /** |
533 | 533 | * @param $user User |
534 | | - * @param $context IContextSource |
| 534 | + * @param $context ContextSource |
535 | 535 | * @param $defaultPreferences |
536 | 536 | * @return void |
537 | 537 | */ |
538 | | - static function datetimePreferences( $user, IContextSource $context, &$defaultPreferences ) { |
| 538 | + static function datetimePreferences( $user, ContextSource $context, &$defaultPreferences ) { |
539 | 539 | ## Date and time ##################################### |
540 | 540 | $dateOptions = self::getDateOptions( $context ); |
541 | 541 | if ( $dateOptions ) { |