1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-10-09 22:06:48 +02:00
Files
php-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

32 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)
{
}
}