aboutsummaryrefslogtreecommitdiff
path: root/lib/CacheInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CacheInterface.php')
-rw-r--r--lib/CacheInterface.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CacheInterface.php b/lib/CacheInterface.php
index 1c3b89ca..b332e21b 100644
--- a/lib/CacheInterface.php
+++ b/lib/CacheInterface.php
@@ -53,11 +53,11 @@ interface CacheInterface
public function saveData($data);
/**
- * Returns the timestamp for the curent cache data
- *
- * @return ?int Timestamp
+ * Returns the modification time of the current cache item.
+ * In unix timestamp.
+ * Example: 1688570578
*/
- public function getTime();
+ public function getTime(): ?int;
/**
* Removes any data that is older than the specified age from cache