Skip to content

Commit

Permalink
Update CacheInterface.stubphp (#333)
Browse files Browse the repository at this point in the history
* Update CacheInterface.stubphp

* cs fix

---------

Co-authored-by: Farhad Safarov <farhad.safarov@gmail.com>
  • Loading branch information
michnovka and seferov committed Jun 5, 2024
1 parent faf9050 commit 179db30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Stubs/common/Contracts/Cache/CacheInterface.stubphp
Original file line number Diff line number Diff line change
Expand Up @@ -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<T> $callback
* @psalm-return T
*/
public function get(string $key, callable $callback, float $beta = null, array &$metadata = null);
Expand Down

0 comments on commit 179db30

Please sign in to comment.