- Optional parameter of Opcache is now fixed
This commit is contained in:
parent
386e0aa448
commit
42d84796ee
|
@ -12,9 +12,9 @@ class Opcache implements Cache {
|
|||
|
||||
protected array $compiled = [];
|
||||
|
||||
protected ? Context $context;
|
||||
protected null|Context $context;
|
||||
|
||||
public function __construct(?string $cachePath = null, ? Context $context)
|
||||
public function __construct(?string $cachePath = null, null|Context $context = null)
|
||||
{
|
||||
$this->cachePath = $cachePath ?? sys_get_temp_dir();
|
||||
$this->context = $context;
|
||||
|
|
Loading…
Reference in New Issue