mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-22 01:25:28 +03:00
caac7f572c
* fix: proper typehint on setScope * refactor: type hint setKey() * typehint
31 lines
432 B
PHP
31 lines
432 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
class NullCache implements CacheInterface
|
|
{
|
|
public function setScope(string $scope): void
|
|
{
|
|
}
|
|
|
|
public function setKey(array $key): void
|
|
{
|
|
}
|
|
|
|
public function loadData()
|
|
{
|
|
}
|
|
|
|
public function saveData($data): void
|
|
{
|
|
}
|
|
|
|
public function getTime(): ?int
|
|
{
|
|
return null;
|
|
}
|
|
|
|
public function purgeCache(int $seconds): void
|
|
{
|
|
}
|
|
}
|