Issue #2466917 by jhedstrom: DatabaseCacheTagsChecksum::calculateChecksum() has incorrect documentation

8.0.x
Alex Pott 2015-04-12 10:56:24 +01:00
parent 6d9f75a965
commit 822835f04c
1 changed files with 8 additions and 2 deletions

View File

@ -99,9 +99,15 @@ class DatabaseCacheTagsChecksum implements CacheTagsChecksumInterface, CacheTags
}
/**
* {@inheritdoc}
* Calculates the current checksum for a given set of tags.
*
* @param array $tags
* The array of tags to calculate the checksum for.
*
* @return int
* The calculated checksum.
*/
public function calculateChecksum(array $tags) {
protected function calculateChecksum(array $tags) {
$checksum = 0;
$query_tags = array_diff($tags, array_keys($this->tagCache));