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:
Marcin Morawski 2025-08-04 00:55:50 +02:00 committed by GitHub
parent c65fbd5543
commit a2334838a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 12 additions and 12 deletions

View file

@ -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;