From 179db305f49f2b2737c65d42c1f9f9c61a722fa2 Mon Sep 17 00:00:00 2001 From: michnovka Date: Wed, 5 Jun 2024 19:01:18 +0200 Subject: [PATCH] Update CacheInterface.stubphp (#333) * Update CacheInterface.stubphp * cs fix --------- Co-authored-by: Farhad Safarov --- 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..2dddc303 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);