X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialBlock.php;h=a60595abe1b43ab21c1b4aaf4c8fcf2c40d1df08;hb=9381d7cbd4e22f6ef290b67cbc84979f75c11982;hp=3b25c6c2af909ee09f4b1ee53bb9658a23c056bb;hpb=f6864777140c4ef08ee1c12f65202951bff069c2;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialBlock.php b/includes/specials/SpecialBlock.php index 3b25c6c2af..a60595abe1 100644 --- a/includes/specials/SpecialBlock.php +++ b/includes/specials/SpecialBlock.php @@ -858,7 +858,7 @@ class SpecialBlock extends FormSpecialPage { * suggestions * @return array */ - public static function getSuggestedDurations( $lang = null, $includeOther = true ) { + public static function getSuggestedDurations( Language $lang = null, $includeOther = true ) { $a = []; $msg = $lang === null ? wfMessage( 'ipboptions' )->inContentLanguage()->text()