mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-26 03:58:45 +02:00
N°8910 - Upgrade Symfony packages
This commit is contained in:
2
lib/symfony/cache/Adapter/ApcuAdapter.php
vendored
2
lib/symfony/cache/Adapter/ApcuAdapter.php
vendored
@@ -25,7 +25,7 @@ class ApcuAdapter extends AbstractAdapter
|
||||
/**
|
||||
* @throws CacheException if APCu is not enabled
|
||||
*/
|
||||
public function __construct(string $namespace = '', int $defaultLifetime = 0, string $version = null, MarshallerInterface $marshaller = null)
|
||||
public function __construct(string $namespace = '', int $defaultLifetime = 0, ?string $version = null, ?MarshallerInterface $marshaller = null)
|
||||
{
|
||||
if (!static::isSupported()) {
|
||||
throw new CacheException('APCu is not enabled.');
|
||||
|
||||
Reference in New Issue
Block a user