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);