diff --git a/src/Caching/Opcache.php b/src/Caching/Opcache.php index 924674d..d3591ca 100644 --- a/src/Caching/Opcache.php +++ b/src/Caching/Opcache.php @@ -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;