Commit a3bb8040 authored by catch's avatar catch

Issue #2238649 by visabhishek, bookmarvel, chx: Expirable key value store...

Issue #2238649 by visabhishek, bookmarvel, chx: Expirable key value store interface is wrong in comments.
parent 7625cea0
......@@ -88,7 +88,7 @@ public function getAll() {
}
/**
* Implements Drupal\Core\KeyValueStore\KeyValueStoreExpireInterface::setWithExpire().
* {@inheritdoc}
*/
function setWithExpire($key, $value, $expire) {
// We are already writing to the table, so perform garbage collection at
......@@ -127,7 +127,7 @@ function setWithExpireIfNotExists($key, $value, $expire) {
}
/**
* Implements Drupal\Core\KeyValueStore\KeyValueStoreExpirablInterface::setMultipleWithExpire().
* {@inheritdoc}
*/
function setMultipleWithExpire(array $data, $expire) {
foreach ($data as $key => $value) {
......
......@@ -41,7 +41,7 @@ class TempStore {
/**
* The key/value storage object used for this data.
*
* @var \Drupal\Core\KeyValueStore\KeyValueStoreExpireInterface;
* @var \Drupal\Core\KeyValueStore\KeyValueStoreExpirableInterface
*/
protected $storage;
......@@ -74,7 +74,7 @@ class TempStore {
/**
* Constructs a new object for accessing data from a key/value store.
*
* @param KeyValueStoreExpireInterface $storage
* @param KeyValueStoreExpirableInterface $storage
* The key/value storage object used for this data. Each storage object
* represents a particular collection of data and will contain any number
* of key/value pairs.
......
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