mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-10-08 13:26:42 +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:
@@ -12,7 +12,7 @@ class CacheFactory
|
||||
$this->logger = $logger;
|
||||
}
|
||||
|
||||
public function create(string $name = null): CacheInterface
|
||||
public function create(?string $name = null): CacheInterface
|
||||
{
|
||||
$cacheNames = [];
|
||||
foreach (scandir(PATH_LIB_CACHES) as $file) {
|
||||
|
Reference in New Issue
Block a user