mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-31 15:30:01 +02:00
Fix PHP 8.4 deprecation
Implicitly marking parameter as nullable is deprecated, the explicit nullable type must be used instead
This commit is contained in:
parent
4c0b97d605
commit
17d7ccd7dd
9 changed files with 11 additions and 11 deletions
|
@ -4,7 +4,7 @@ interface CacheInterface
|
|||
{
|
||||
public function get(string $key, $default = null);
|
||||
|
||||
public function set(string $key, $value, int $ttl = null): void;
|
||||
public function set(string $key, $value, ?int $ttl = null): void;
|
||||
|
||||
public function delete(string $key): void;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue