mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-10 12:54:40 +02:00
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
This commit is contained in:
parent
c65fbd5543
commit
a2334838a6
10 changed files with 12 additions and 12 deletions
|
@ -23,7 +23,7 @@ class ArrayCache implements CacheInterface
|
|||
return $default;
|
||||
}
|
||||
|
||||
public function set(string $key, $value, int $ttl = null): void
|
||||
public function set(string $key, $value, ?int $ttl = null): void
|
||||
{
|
||||
$this->data[$key] = [
|
||||
'key' => $key,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue