Addshore has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/394358 )
Change subject: Fix phpdoc for Category::newFromName ...................................................................... Fix phpdoc for Category::newFromName Change-Id: I78e18b41acda9aa143360a49fd161b8af1d218be --- M includes/Category.php 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/58/394358/1 diff --git a/includes/Category.php b/includes/Category.php index 629962d..9241730 100644 --- a/includes/Category.php +++ b/includes/Category.php @@ -119,9 +119,9 @@ /** * 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(); -- To view, visit https://gerrit.wikimedia.org/r/394358 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I78e18b41acda9aa143360a49fd161b8af1d218be Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Addshore <addshorew...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits