Merge "benchmarks: Minor cleanup for strtr benchmark"
[lhc/web/wiklou.git] / includes / specials / SpecialBlock.php
index 3b25c6c..a60595a 100644 (file)
@@ -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()