Commit 822835f0 authored by alexpott's avatar alexpott
Browse files

Issue #2466917 by jhedstrom: DatabaseCacheTagsChecksum::calculateChecksum()...

Issue #2466917 by jhedstrom: DatabaseCacheTagsChecksum::calculateChecksum() has incorrect documentation
parent 6d9f75a9
......@@ -99,9 +99,15 @@ public function isValid($checksum, array $tags) {
}
/**
* {@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));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment