X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FCategory.php;h=9241730a04de63f96de79ec5b237524a2319c8b9;hp=629962d2a95fe123a89955d1f70b711829ba04b9;hb=0535765366fc2bc72e84bacb0b14e5a2a790ee94;hpb=b95ca29602793f39191c06cd6941e3f32ab1bbb8 diff --git a/includes/Category.php b/includes/Category.php index 629962d2a9..9241730a04 100644 --- a/includes/Category.php +++ b/includes/Category.php @@ -119,9 +119,9 @@ class Category { /** * Factory function. * - * @param array $name A category name (no "Category:" prefix). It need + * @param string $name A category name (no "Category:" prefix). It need * not be normalized, with spaces replaced by underscores. - * @return mixed Category, or false on a totally invalid name + * @return Category|bool Category, or false on a totally invalid name */ public static function newFromName( $name ) { $cat = new self();