Merge "Allow dumps to function with MCR in read-new mode."
[lhc/web/wiklou.git] / includes / MWNamespace.php
index 1df5d51..e03a29b 100644 (file)
@@ -477,7 +477,7 @@ class MWNamespace {
         *
         * @since 1.23
         * @param int $index Index to check
-        * @param User $user User to check
+        * @param User|null $user User to check
         * @return array
         */
        public static function getRestrictionLevels( $index, User $user = null ) {