Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
API page: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Cache%21C...
I was looking at drupal_flush_all_caches() and noticed that Cache::getBins declares its return type is array
but the more accurate data type indicator \Drupal\Core\Cache\CacheBackendInterface[]
is preferable.
Comment | File | Size | Author |
---|---|---|---|
cache_data_type.patch | 511 bytes | cilefen | |
Comments
Comment #2
cilefen CreditAttribution: cilefen commentedComment #3
markdorisonPatch applied cleanly. Reviewed API documentation and this makes sense to me.
Comment #6
catchCommitted/pushed to 8.3.x and cherry-picked to 8.2.x. Thanks!