mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-05 16:17:28 +02:00
fix(CacheInterface): logic bug in getTime (#3491)
* fix(CacheInterface): logic bug in getTime * test
This commit is contained in:
@@ -70,7 +70,7 @@ class SQLiteCache implements CacheInterface
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getTime()
|
||||
public function getTime(): ?int
|
||||
{
|
||||
$Qselect = $this->db->prepare('SELECT updated FROM storage WHERE key = :key');
|
||||
$Qselect->bindValue(':key', $this->getCacheKey());
|
||||
|
Reference in New Issue
Block a user