jenkins-bot has submitted this change and it was merged. ( 
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(-)

Approvals:
  Chad: Looks good to me, approved
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: I78e18b41acda9aa143360a49fd161b8af1d218be
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Addshore <addshorew...@gmail.com>
Gerrit-Reviewer: Chad <ch...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to