From 1edf536833cd3c5dd26a565c14c19c97c8dd0a12 Mon Sep 17 00:00:00 2001 From: Natan Felles Date: Mon, 25 Mar 2019 10:20:20 -0300 Subject: [PATCH] Update Memcached::deleteMulti return type and description --- memcached/memcached.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/memcached/memcached.php b/memcached/memcached.php index 4b8da2c6f..bd04c2943 100644 --- a/memcached/memcached.php +++ b/memcached/memcached.php @@ -443,8 +443,8 @@ class Memcached { const RES_IN_PROGRESS = 46; const RES_MAXIMUM_RETURN = 49; - - + + /** *

Failed to create network socket.

* @link https://php.net/manual/en/memcached.constants.php @@ -980,7 +980,7 @@ public function delete ($key, $time = 0) {} * @param int $time [optional]

* The amount of time the server will wait to delete the items. *

- * @return bool TRUE on success or FALSE on failure. + * @return array Returns array indexed by keys and where values are indicating whether operation succeeded or not. * The Memcached::getResultCode will return * Memcached::RES_NOTFOUND if the key does not exist. */ @@ -1251,7 +1251,7 @@ public function setOption ($option, $value) {} * @return bool TRUE on success or FALSE on failure. */ public function setOptions (array $options) {} - + /** * (PECL memcached >= 2.0.0)
* Set the credentials to use for authentication