mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-06 08:37:30 +02:00
fix(CacheInterface): logic bug in getTime (#3491)
* fix(CacheInterface): logic bug in getTime * test
This commit is contained in:
@@ -48,7 +48,7 @@ class FileCache implements CacheInterface
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getTime()
|
||||
public function getTime(): ?int
|
||||
{
|
||||
$cacheFile = $this->getCacheFile();
|
||||
clearstatcache(false, $cacheFile);
|
||||
|
Reference in New Issue
Block a user