X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FCategory.php;h=9241730a04de63f96de79ec5b237524a2319c8b9;hb=18a2fd3268d1864d1480d5bfef0a69abf55a0dd4;hp=629962d2a95fe123a89955d1f70b711829ba04b9;hpb=3e88f9fa2a5a00bc1330560accf8e9d09c8be42a;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();