From: John Du Hart Date: Mon, 5 Dec 2011 02:29:08 +0000 (+0000) Subject: Type hinting please X-Git-Tag: 1.31.0-rc.0~26181 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dcompta/operations/modifier.php?a=commitdiff_plain;h=6d8d4d9efeda91681f123f5164961187f118eec3;p=lhc%2Fweb%2Fwiklou.git Type hinting please --- diff --git a/includes/Namespace.php b/includes/Namespace.php index 57840c9bd1..d32a53c39b 100644 --- a/includes/Namespace.php +++ b/includes/Namespace.php @@ -155,8 +155,8 @@ class MWNamespace { * of this function rather than directly doing comparison will make * sure that code will not potentially break. * - * @param $ns1 The first namespace index - * @param $ns2 The second namespae index + * @param $ns1 int The first namespace index + * @param $ns2 int The second namespae index * * @return bool * @since 1.19 @@ -170,8 +170,8 @@ class MWNamespace { * eg: NS_USER and NS_USER wil return true, as well * NS_USER and NS_USER_TALK will return true. * - * @param $ns1 The first namespace index - * @param $ns2 The second namespae index + * @param $ns1 int The first namespace index + * @param $ns2 int The second namespae index * * @return bool * @since 1.19 diff --git a/includes/Title.php b/includes/Title.php index 28defc58e9..22d6aee863 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1951,7 +1951,7 @@ class Title { * Please make use of this instead of comparing to getNamespace() * This function is much more resistant to changes we may make * to namespaces than code that makes direct comparisons. - * @param $ns The namespace + * @param $ns int The namespace * @return bool * @since 1.19 */