Skip to content

Commit ff30d76

Browse files
committed
feat: support php84 without depricated error logs
1 parent 87023ae commit ff30d76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Registry/CachedRegistry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class CachedRegistry implements Registry
3232
*/
3333
private $hashAlgoFunc;
3434

35-
public function __construct(Registry $registry, CacheAdapter $cacheAdapter, callable $hashAlgoFunc = null)
35+
public function __construct(Registry $registry, CacheAdapter $cacheAdapter, ?callable $hashAlgoFunc = null)
3636
{
3737
$this->registry = $registry;
3838
$this->cacheAdapter = $cacheAdapter;

0 commit comments

Comments
 (0)