diff --git a/src/Illuminate/Cache/ApcStore.php b/src/Illuminate/Cache/ApcStore.php index 89c31a3f7f0c..5e6189361a7f 100755 --- a/src/Illuminate/Cache/ApcStore.php +++ b/src/Illuminate/Cache/ApcStore.php @@ -36,7 +36,7 @@ public function __construct(ApcWrapper $apc, $prefix = '') * Retrieve an item from the cache by key. * * @param string $key - * @return mixed + * @return mixed|null */ public function get($key) { @@ -60,8 +60,8 @@ public function put($key, $value, $seconds) * Increment the value of an item in the cache. * * @param string $key - * @param mixed $value - * @return int|bool + * @param int $value + * @return int|false */ public function increment($key, $value = 1) { @@ -72,8 +72,8 @@ public function increment($key, $value = 1) * Decrement the value of an item in the cache. * * @param string $key - * @param mixed $value - * @return int|bool + * @param int $value + * @return int|false */ public function decrement($key, $value = 1) { diff --git a/src/Illuminate/Cache/ApcWrapper.php b/src/Illuminate/Cache/ApcWrapper.php index 43c6e328a8fe..d7593c90a172 100755 --- a/src/Illuminate/Cache/ApcWrapper.php +++ b/src/Illuminate/Cache/ApcWrapper.php @@ -8,7 +8,7 @@ class ApcWrapper * Get an item from the cache. * * @param string $key - * @return mixed + * @return mixed|null */ public function get($key) { @@ -23,7 +23,7 @@ public function get($key) * @param string $key * @param mixed $value * @param int $seconds - * @return array|bool + * @return bool */ public function put($key, $value, $seconds) { @@ -34,8 +34,8 @@ public function put($key, $value, $seconds) * Increment the value of an item in the cache. * * @param string $key - * @param mixed $value - * @return int|bool + * @param int $value + * @return int|false */ public function increment($key, $value) { @@ -46,8 +46,8 @@ public function increment($key, $value) * Decrement the value of an item in the cache. * * @param string $key - * @param mixed $value - * @return int|bool + * @param int $value + * @return int|false */ public function decrement($key, $value) {