- Optional parameter of Opcache is now fixed

This commit is contained in:
Dave M. 2023-08-31 09:15:05 -04:00
parent 386e0aa448
commit 42d84796ee
1 changed files with 2 additions and 2 deletions

View File

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