Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291671

DatabaseCacheTagsChecksum::calculateChecksum() has incorrect documentation

$
0
0

Problem/Motivation

The \Drupal\Core\Cache\DatabaseCacheTagsChecksum::calculateChecksum() method uses {@inheritdoc}, and is classified as a public method:

<?php
 
/**
   * {@inheritdoc}
   */
 
public function calculateChecksum(array $tags) {
?>

However, there is no calculateChecksum() method on the CacheTagsChecksumInterface().

Proposed resolution

Either the method should be better documented and marked protected, or the method should be documented and added to the interface.

Remaining tasks

User interface changes

API changes


Viewing all articles
Browse latest Browse all 291671

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>