Skip to content

Commit

Permalink
Update handler docblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
MGatner committed May 1, 2021
1 parent 53bcd7a commit aeea632
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions system/Cache/Handlers/DummyHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function remember(string $key, int $ttl, Closure $callback)
* @param mixed $value The data to save
* @param integer $ttl Time To Live, in seconds (default 60)
*
* @return mixed
* @return boolean Success or failure
*/
public function save(string $key, $value, int $ttl = 60)
{
Expand All @@ -79,7 +79,7 @@ public function save(string $key, $value, int $ttl = 60)
*
* @param string $key Cache item name
*
* @return boolean
* @return boolean Success or failure
*/
public function delete(string $key)
{
Expand Down Expand Up @@ -135,7 +135,7 @@ public function decrement(string $key, int $offset = 1)
/**
* Will delete all items in the entire cache.
*
* @return boolean
* @return boolean Success or failure
*/
public function clean()
{
Expand Down
6 changes: 3 additions & 3 deletions system/Cache/Handlers/FileHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function get(string $key)
* @param mixed $value The data to save
* @param integer $ttl Time To Live, in seconds (default 60)
*
* @return mixed
* @return boolean Success or failure
*/
public function save(string $key, $value, int $ttl = 60)
{
Expand Down Expand Up @@ -149,7 +149,7 @@ public function save(string $key, $value, int $ttl = 60)
*
* @param string $key Cache item name
*
* @return boolean
* @return boolean Success or failure
*/
public function delete(string $key)
{
Expand Down Expand Up @@ -253,7 +253,7 @@ public function decrement(string $key, int $offset = 1)
/**
* Will delete all items in the entire cache.
*
* @return boolean
* @return boolean Success or failure
*/
public function clean()
{
Expand Down
6 changes: 3 additions & 3 deletions system/Cache/Handlers/MemcachedHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public function get(string $key)
* @param mixed $value The data to save
* @param integer $ttl Time To Live, in seconds (default 60)
*
* @return mixed
* @return boolean Success or failure
*/
public function save(string $key, $value, int $ttl = 60)
{
Expand Down Expand Up @@ -238,7 +238,7 @@ public function save(string $key, $value, int $ttl = 60)
*
* @param string $key Cache item name
*
* @return boolean
* @return boolean Success or failure
*/
public function delete(string $key)
{
Expand Down Expand Up @@ -313,7 +313,7 @@ public function decrement(string $key, int $offset = 1)
/**
* Will delete all items in the entire cache.
*
* @return boolean
* @return boolean Success or failure
*/
public function clean()
{
Expand Down
6 changes: 3 additions & 3 deletions system/Cache/Handlers/PredisHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public function get(string $key)
* @param mixed $value The data to save
* @param integer $ttl Time To Live, in seconds (default 60)
*
* @return mixed
* @return boolean Success or failure
*/
public function save(string $key, $value, int $ttl = 60)
{
Expand Down Expand Up @@ -176,7 +176,7 @@ public function save(string $key, $value, int $ttl = 60)
*
* @param string $key Cache item name
*
* @return boolean
* @return boolean Success or failure
*/
public function delete(string $key)
{
Expand Down Expand Up @@ -242,7 +242,7 @@ public function decrement(string $key, int $offset = 1)
/**
* Will delete all items in the entire cache.
*
* @return boolean
* @return boolean Success or failure
*/
public function clean()
{
Expand Down
6 changes: 3 additions & 3 deletions system/Cache/Handlers/RedisHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public function get(string $key)
* @param mixed $value The data to save
* @param integer $ttl Time To Live, in seconds (default 60)
*
* @return mixed
* @return boolean Success or failure
*/
public function save(string $key, $value, int $ttl = 60)
{
Expand Down Expand Up @@ -212,7 +212,7 @@ public function save(string $key, $value, int $ttl = 60)
*
* @param string $key Cache item name
*
* @return boolean
* @return boolean Success or failure
*/
public function delete(string $key)
{
Expand Down Expand Up @@ -288,7 +288,7 @@ public function decrement(string $key, int $offset = 1)
/**
* Will delete all items in the entire cache.
*
* @return boolean
* @return boolean Success or failure
*/
public function clean()
{
Expand Down
6 changes: 3 additions & 3 deletions system/Cache/Handlers/WincacheHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function get(string $key)
* @param mixed $value The data to save
* @param integer $ttl Time To Live, in seconds (default 60)
*
* @return mixed
* @return boolean Success or failure
*
* @codeCoverageIgnore
*/
Expand All @@ -101,7 +101,7 @@ public function save(string $key, $value, int $ttl = 60)
*
* @param string $key Cache item name
*
* @return boolean
* @return boolean Success or failure
*
* @codeCoverageIgnore
*/
Expand Down Expand Up @@ -179,7 +179,7 @@ public function decrement(string $key, int $offset = 1)
*
* @return boolean
*
* @codeCoverageIgnore
* @boolean Success or failure
*/
public function clean()
{
Expand Down

0 comments on commit aeea632

Please sign in to comment.