Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/Illuminate/Cache/ApcStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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)
{
Expand All @@ -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)
{
Expand Down
12 changes: 6 additions & 6 deletions src/Illuminate/Cache/ApcWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class ApcWrapper
* Get an item from the cache.
*
* @param string $key
* @return mixed
* @return mixed|null
*/
public function get($key)
{
Expand All @@ -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)
{
Expand All @@ -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)
{
Expand All @@ -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)
{
Expand Down