X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FMWNamespace.php;h=e03a29b80f08f68dbf59ec10f7f7c6411cfefd98;hb=c4a923d1340029cd8f6d13d4e065f3feaac84e8e;hp=1df5d519a4b98aa4cec7a4350951608205d4fed5;hpb=2ff855cd494b1274ece1c316ce2d830e659ee964;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/MWNamespace.php b/includes/MWNamespace.php index 1df5d519a4..e03a29b80f 100644 --- a/includes/MWNamespace.php +++ b/includes/MWNamespace.php @@ -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 ) {