X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialVersion.php;h=fa78cbe7ba499b9a8a83a9af2502acb76fed87ae;hb=fa0f6f34972c0e0f4aac24a03b3efdfc45f256f6;hp=ec34db861133982f64a1ab9bf50b7f2594605b8d;hpb=71f386d4e714ed0144ad5569d99b60a1f5ebfe5a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialVersion.php b/includes/specials/SpecialVersion.php index ec34db8611..fa78cbe7ba 100644 --- a/includes/specials/SpecialVersion.php +++ b/includes/specials/SpecialVersion.php @@ -31,13 +31,20 @@ use MediaWiki\MediaWikiServices; * @ingroup SpecialPage */ class SpecialVersion extends SpecialPage { + + /** + * @var bool + */ protected $firstExtOpened = false; /** - * Stores the current rev id/SHA hash of MediaWiki core + * @var string The current rev id/SHA hash of MediaWiki core */ protected $coreId = ''; + /** + * @var string[]|false Lazy initialized key/value with message content + */ protected static $extensionTypes = false; public function __construct() { @@ -379,7 +386,7 @@ class SpecialVersion extends SpecialPage { * * @since 1.17 * - * @return array + * @return string[] */ public static function getExtensionTypes() { if ( self::$extensionTypes === false ) {