X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fcache%2Flocalisation%2FLocalisationCache.php;h=cbff113761af34cc40ce80c325287cdf0542481d;hp=4b6362fb0be6f3fbc8ec8799da426d072b5e7f5c;hb=c584722cc2e3d33edae58d46c2149063b3fc6d72;hpb=86448ece43db70f21d591b7d0ce52447664a2600 diff --git a/includes/cache/localisation/LocalisationCache.php b/includes/cache/localisation/LocalisationCache.php index 4b6362fb0b..cbff113761 100644 --- a/includes/cache/localisation/LocalisationCache.php +++ b/includes/cache/localisation/LocalisationCache.php @@ -228,7 +228,7 @@ class LocalisationCache { } } - wfDebugLog( 'caches', get_class( $this ) . ": using store $storeClass" ); + wfDebugLog( 'caches', static::class . ": using store $storeClass" ); if ( !empty( $conf['storeDirectory'] ) ) { $storeConf['directory'] = $conf['storeDirectory']; } @@ -313,7 +313,7 @@ class LocalisationCache { * array. * @param string $code * @param string $key - * @return bool|null|string + * @return bool|null|string|string[] */ public function getSubitemList( $code, $key ) { if ( in_array( $key, self::$splitKeys ) ) {