Skip to content

Commit

Permalink
Improve code documentation: increment → decrement for decrement metho…
Browse files Browse the repository at this point in the history
…ds (#14200)

Some methods use the verb 'increment' both for increment and decrement
methods. This change fixes this issue and standardizes the comments
of the decrement methods.
  • Loading branch information
dereckson authored and taylorotwell committed Jul 1, 2016
1 parent cde35ab commit e6dd517
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Illuminate/Cache/ArrayStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function increment($key, $value = 1)
}

/**
* Increment the value of an item in the cache.
* Decrement the value of an item in the cache.
*
* @param string $key
* @param mixed $value
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Cache/DatabaseStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public function increment($key, $value = 1)
}

/**
* Increment the value of an item in the cache.
* Decrement the value of an item in the cache.
*
* @param string $key
* @param mixed $value
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Cache/NullStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function increment($key, $value = 1)
}

/**
* Increment the value of an item in the cache.
* Decrement the value of an item in the cache.
*
* @param string $key
* @param mixed $value
Expand Down

0 comments on commit e6dd517

Please sign in to comment.