Skip to content

Commit

Permalink
Reword exception explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
ravage84 committed Sep 5, 2018
1 parent c8c3af2 commit cd98e3c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Cache/SimpleCacheEngine.php
Expand Up @@ -62,8 +62,7 @@ protected function ensureValidKey($key)
* @param string $key The unique key of this item in the cache.
* @param mixed $default Default value to return if the key does not exist.
* @return mixed The value of the item from the cache, or $default in case of cache miss.
* @throws \Psr\SimpleCache\InvalidArgumentException
* MUST be thrown if the $key string is not a legal value.
* @throws \Psr\SimpleCache\InvalidArgumentException If the $key string is not a legal value.
*/
public function get($key, $default = null)
{
Expand Down

0 comments on commit cd98e3c

Please sign in to comment.