diff --git a/src/CacheTool.php b/src/CacheTool.php index 4789329..945cb30 100644 --- a/src/CacheTool.php +++ b/src/CacheTool.php @@ -18,7 +18,7 @@ /** * @method mixed apcu_add(mixed $key, mixed $var, int $ttl = 0) - * @method boolean apcu_cache_info(boolean $limited = false) + * @method false|array apcu_cache_info(boolean $limited = false) * @method boolean|array apcu_regexp_get_keys(?string $regexp = null) * @method boolean apcu_cas(string $key, int $old, int $new) * @method boolean apcu_clear_cache() diff --git a/src/Proxy/ApcuProxy.php b/src/Proxy/ApcuProxy.php index 2d3b2ff..b3325a9 100644 --- a/src/Proxy/ApcuProxy.php +++ b/src/Proxy/ApcuProxy.php @@ -117,7 +117,7 @@ public function apcu_cas($key, $old, $new) * @since 2.0.0 * @param boolean $limited If limited is TRUE, the return value will exclude the individual list of cache * entries. This is useful when trying to optimize calls for statistics gathering. - * @return boolean Array of cached data (and meta-data) or FALSE on failure + * @return false|array Array of cached data (and meta-data) or FALSE on failure */ public function apcu_cache_info($limited = false) {