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:
Marcin Morawski 2025-07-30 17:37:48 +02:00
parent 4c0b97d605
commit 17d7ccd7dd
9 changed files with 11 additions and 11 deletions

View file

@ -9,7 +9,7 @@ class NullCache implements CacheInterface
return $default;
}
public function set(string $key, $value, int $ttl = null): void
public function set(string $key, $value, ?int $ttl = null): void
{
}