diff options
author | 2023-07-05 17:37:21 +0200 | |
---|---|---|
committer | 2023-07-05 17:37:21 +0200 | |
commit | a9fd3b9e61a7934c6b94fb5584c6668966a98cb9 (patch) | |
tree | 54f74721925f4ae99ca015c90dec4360368c3537 /lib/CacheInterface.php | |
parent | 18e15973610dc1ac1f04d35a74004011e9c1bdc0 (diff) | |
download | rss-bridge-a9fd3b9e61a7934c6b94fb5584c6668966a98cb9.tar.gz rss-bridge-a9fd3b9e61a7934c6b94fb5584c6668966a98cb9.tar.zst rss-bridge-a9fd3b9e61a7934c6b94fb5584c6668966a98cb9.zip |
fix(CacheInterface): logic bug in getTime (#3491)
* fix(CacheInterface): logic bug in getTime
* test
Diffstat (limited to 'lib/CacheInterface.php')
-rw-r--r-- | lib/CacheInterface.php | 8 |
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 |