RSS-Bridge.rss-bridge/lib/CacheInterface.php
Marcin Morawski a2334838a6
Fix deprecations (#4636)
* Fix PHP 8.4 deprecation

Implicitly marking parameter as nullable is deprecated, the explicit nullable type must be used instead

* [github workflow] Add additional php versions
2025-08-04 00:55:50 +02:00

14 lines
282 B
PHP

<?php
interface CacheInterface
{
public function get(string $key, $default = null);
public function set(string $key, $value, ?int $ttl = null): void;
public function delete(string $key): void;
public function clear(): void;
public function prune(): void;
}