rss-bridge/caches/NullCache.php
Dag a9fd3b9e61
fix(CacheInterface): logic bug in getTime (#3491)
* fix(CacheInterface): logic bug in getTime

* test
2023-07-05 17:37:21 +02:00

31 lines
391 B
PHP

<?php
declare(strict_types=1);
class NullCache implements CacheInterface
{
public function setScope($scope)
{
}
public function setKey($key)
{
}
public function loadData()
{
}
public function saveData($data)
{
}
public function getTime(): ?int
{
return null;
}
public function purgeCache($seconds)
{
}
}