mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-16 00:44:44 +02:00
fix(CacheInterface): logic bug in getTime (#3491)
* fix(CacheInterface): logic bug in getTime * test
This commit is contained in:
parent
18e1597361
commit
a9fd3b9e61
11 changed files with 24 additions and 22 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue