Have LinkCache::getMutableCacheKeys() accept LinkTarget
[lhc/web/wiklou.git] / includes / cache / LinkCache.php
index 260038a..9e182c7 100644 (file)
@@ -283,11 +283,11 @@ class LinkCache {
 
        /**
         * @param WANObjectCache $cache
-        * @param TitleValue $t
+        * @param LinkTarget $t
         * @return string[]
         * @since 1.28
         */
-       public function getMutableCacheKeys( WANObjectCache $cache, TitleValue $t ) {
+       public function getMutableCacheKeys( WANObjectCache $cache, LinkTarget $t ) {
                if ( $this->isCacheable( $t ) ) {
                        return [ $cache->makeKey( 'page', $t->getNamespace(), sha1( $t->getDBkey() ) ) ];
                }