Skip to content

Commit 53bcd7a

Browse files
committed
Fix docblock return types
1 parent c7337a2 commit 53bcd7a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

system/Cache/CacheInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function get(string $key);
4141
* @param mixed $value The data to save
4242
* @param integer $ttl Time To Live, in seconds (default 60)
4343
*
44-
* @return mixed
44+
* @return boolean Success or failure
4545
*/
4646
public function save(string $key, $value, int $ttl = 60);
4747

@@ -52,7 +52,7 @@ public function save(string $key, $value, int $ttl = 60);
5252
*
5353
* @param string $key Cache item name
5454
*
55-
* @return mixed
55+
* @return boolean Success or failure
5656
*/
5757
public function delete(string $key);
5858

@@ -85,7 +85,7 @@ public function decrement(string $key, int $offset = 1);
8585
/**
8686
* Will delete all items in the entire cache.
8787
*
88-
* @return mixed
88+
* @return boolean Success or failure
8989
*/
9090
public function clean();
9191

0 commit comments

Comments
 (0)