From 4d8116dd5d29a034e94b3de23de0b7d90223cbbb Mon Sep 17 00:00:00 2001 From: michnovka Date: Wed, 21 Feb 2024 16:05:53 +0100 Subject: [PATCH] Update CacheInterface.stubphp --- src/Stubs/common/Contracts/Cache/CacheInterface.stubphp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Stubs/common/Contracts/Cache/CacheInterface.stubphp b/src/Stubs/common/Contracts/Cache/CacheInterface.stubphp index ab725a81..f78a083c 100644 --- a/src/Stubs/common/Contracts/Cache/CacheInterface.stubphp +++ b/src/Stubs/common/Contracts/Cache/CacheInterface.stubphp @@ -9,7 +9,7 @@ interface CacheInterface /** * @template T * - * @psalm-param CallbackInterface|callable(CacheItemInterface, bool): T $callback + * @psalm-param (callable(CacheItemInterface,bool):T)|(callable(ItemInterface,bool):T)|CallbackInterface $callback * @psalm-return T */ public function get(string $key, callable $callback, float $beta = null, array &$metadata = null);