X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=blobdiff_plain;f=includes%2FCategory.php;h=9241730a04de63f96de79ec5b237524a2319c8b9;hb=665e9b7bf26f9eccdfe02b1a1889f70e8d105705;hp=629962d2a95fe123a89955d1f70b711829ba04b9;hpb=e7720b8f8e09287384ddee271641d1b1721318bb;p=lhc%2Fweb%2Fwiklou.git 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();