From ff30d76f9df1e585c954b8cd4599b047c43ffb98 Mon Sep 17 00:00:00 2001 From: ineradovic Date: Fri, 7 Feb 2025 07:24:40 +0100 Subject: [PATCH] feat: support php84 without depricated error logs --- src/Registry/CachedRegistry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Registry/CachedRegistry.php b/src/Registry/CachedRegistry.php index 281e193..9b5b507 100644 --- a/src/Registry/CachedRegistry.php +++ b/src/Registry/CachedRegistry.php @@ -32,7 +32,7 @@ class CachedRegistry implements Registry */ private $hashAlgoFunc; - public function __construct(Registry $registry, CacheAdapter $cacheAdapter, callable $hashAlgoFunc = null) + public function __construct(Registry $registry, CacheAdapter $cacheAdapter, ?callable $hashAlgoFunc = null) { $this->registry = $registry; $this->cacheAdapter = $cacheAdapter;