Skip to content

Commit aeea632

Browse files
committed
Update handler docblocks
1 parent 53bcd7a commit aeea632

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

system/Cache/Handlers/DummyHandler.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function remember(string $key, int $ttl, Closure $callback)
6565
* @param mixed $value The data to save
6666
* @param integer $ttl Time To Live, in seconds (default 60)
6767
*
68-
* @return mixed
68+
* @return boolean Success or failure
6969
*/
7070
public function save(string $key, $value, int $ttl = 60)
7171
{
@@ -79,7 +79,7 @@ public function save(string $key, $value, int $ttl = 60)
7979
*
8080
* @param string $key Cache item name
8181
*
82-
* @return boolean
82+
* @return boolean Success or failure
8383
*/
8484
public function delete(string $key)
8585
{
@@ -135,7 +135,7 @@ public function decrement(string $key, int $offset = 1)
135135
/**
136136
* Will delete all items in the entire cache.
137137
*
138-
* @return boolean
138+
* @return boolean Success or failure
139139
*/
140140
public function clean()
141141
{

system/Cache/Handlers/FileHandler.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function get(string $key)
111111
* @param mixed $value The data to save
112112
* @param integer $ttl Time To Live, in seconds (default 60)
113113
*
114-
* @return mixed
114+
* @return boolean Success or failure
115115
*/
116116
public function save(string $key, $value, int $ttl = 60)
117117
{
@@ -149,7 +149,7 @@ public function save(string $key, $value, int $ttl = 60)
149149
*
150150
* @param string $key Cache item name
151151
*
152-
* @return boolean
152+
* @return boolean Success or failure
153153
*/
154154
public function delete(string $key)
155155
{
@@ -253,7 +253,7 @@ public function decrement(string $key, int $offset = 1)
253253
/**
254254
* Will delete all items in the entire cache.
255255
*
256-
* @return boolean
256+
* @return boolean Success or failure
257257
*/
258258
public function clean()
259259
{

system/Cache/Handlers/MemcachedHandler.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public function get(string $key)
202202
* @param mixed $value The data to save
203203
* @param integer $ttl Time To Live, in seconds (default 60)
204204
*
205-
* @return mixed
205+
* @return boolean Success or failure
206206
*/
207207
public function save(string $key, $value, int $ttl = 60)
208208
{
@@ -238,7 +238,7 @@ public function save(string $key, $value, int $ttl = 60)
238238
*
239239
* @param string $key Cache item name
240240
*
241-
* @return boolean
241+
* @return boolean Success or failure
242242
*/
243243
public function delete(string $key)
244244
{
@@ -313,7 +313,7 @@ public function decrement(string $key, int $offset = 1)
313313
/**
314314
* Will delete all items in the entire cache.
315315
*
316-
* @return boolean
316+
* @return boolean Success or failure
317317
*/
318318
public function clean()
319319
{

system/Cache/Handlers/PredisHandler.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public function get(string $key)
138138
* @param mixed $value The data to save
139139
* @param integer $ttl Time To Live, in seconds (default 60)
140140
*
141-
* @return mixed
141+
* @return boolean Success or failure
142142
*/
143143
public function save(string $key, $value, int $ttl = 60)
144144
{
@@ -176,7 +176,7 @@ public function save(string $key, $value, int $ttl = 60)
176176
*
177177
* @param string $key Cache item name
178178
*
179-
* @return boolean
179+
* @return boolean Success or failure
180180
*/
181181
public function delete(string $key)
182182
{
@@ -242,7 +242,7 @@ public function decrement(string $key, int $offset = 1)
242242
/**
243243
* Will delete all items in the entire cache.
244244
*
245-
* @return boolean
245+
* @return boolean Success or failure
246246
*/
247247
public function clean()
248248
{

system/Cache/Handlers/RedisHandler.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public function get(string $key)
169169
* @param mixed $value The data to save
170170
* @param integer $ttl Time To Live, in seconds (default 60)
171171
*
172-
* @return mixed
172+
* @return boolean Success or failure
173173
*/
174174
public function save(string $key, $value, int $ttl = 60)
175175
{
@@ -212,7 +212,7 @@ public function save(string $key, $value, int $ttl = 60)
212212
*
213213
* @param string $key Cache item name
214214
*
215-
* @return boolean
215+
* @return boolean Success or failure
216216
*/
217217
public function delete(string $key)
218218
{
@@ -288,7 +288,7 @@ public function decrement(string $key, int $offset = 1)
288288
/**
289289
* Will delete all items in the entire cache.
290290
*
291-
* @return boolean
291+
* @return boolean Success or failure
292292
*/
293293
public function clean()
294294
{

system/Cache/Handlers/WincacheHandler.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function get(string $key)
8383
* @param mixed $value The data to save
8484
* @param integer $ttl Time To Live, in seconds (default 60)
8585
*
86-
* @return mixed
86+
* @return boolean Success or failure
8787
*
8888
* @codeCoverageIgnore
8989
*/
@@ -101,7 +101,7 @@ public function save(string $key, $value, int $ttl = 60)
101101
*
102102
* @param string $key Cache item name
103103
*
104-
* @return boolean
104+
* @return boolean Success or failure
105105
*
106106
* @codeCoverageIgnore
107107
*/
@@ -179,7 +179,7 @@ public function decrement(string $key, int $offset = 1)
179179
*
180180
* @return boolean
181181
*
182-
* @codeCoverageIgnore
182+
* @boolean Success or failure
183183
*/
184184
public function clean()
185185
{

0 commit comments

Comments
 (0)