diff --git a/core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php b/core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php index b6d9161b4e4905e8ecb4a88191708e834b5f6df8..cc882eead164d83061e9e2df9f3386cfd8fdf333 100644 --- a/core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php +++ b/core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php @@ -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));