X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fparser%2FParserOptions.php;h=8407992ba1b81c9f28f9641301520b1a293ad7a4;hb=d09d0cc568ad2a56360a3861ae9dba26d584ecc8;hp=de67b847404788ad2e0af607c0042f808821d2ca;hpb=7ddab17aac1103fa080b50759ab6ca906caa554e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/parser/ParserOptions.php b/includes/parser/ParserOptions.php index de67b84740..8407992ba1 100644 --- a/includes/parser/ParserOptions.php +++ b/includes/parser/ParserOptions.php @@ -57,7 +57,7 @@ class ParserOptions { /** * Lazy-loaded options - * @var callback[] + * @var callable[] */ private static $lazyOptions = [ 'dateformat' => [ __CLASS__, 'initDateFormat' ], @@ -650,8 +650,10 @@ class ParserOptions { /** * Lazy initializer for dateFormat + * @param ParserOptions $popt + * @return string */ - private static function initDateFormat( $popt ) { + private static function initDateFormat( ParserOptions $popt ) { return $popt->mUser->getDatePreference(); }