We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e83033 commit 35cb5bfCopy full SHA for 35cb5bf
system/Cache/CacheInterface.php
@@ -39,13 +39,13 @@ public function get(string $key): mixed;
39
* @return bool Success or failure
40
*/
41
public function save(string $key, mixed $value, int $ttl = 60): bool;
42
-
+
43
/**
44
* Attempts to get an item from the cache, or executes the callback
45
* and stores the result on cache miss.
46
*
47
- * @param string $key Cache item name
48
- * @param int $ttl Time To Live, in seconds
+ * @param string $key Cache item name
+ * @param int $ttl Time To Live, in seconds
49
* @param Closure(): mixed $callback Callback executed on cache miss
50
51
public function remember(string $key, int $ttl, Closure $callback): mixed;
0 commit comments