Skip to content

Commit 104126f

Browse files
authored
Merge pull request #41 from php-http/dbu-patch-1
clarify cache_key_generator option
2 parents b2f15ce + 5ae4cff commit 104126f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CachePlugin.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ final class CachePlugin implements Plugin
5858
* We store a cache item for $cache_lifetime + max age of the response.
5959
* @var array $methods list of request methods which can be cached
6060
* @var array $respect_response_cache_directives list of cache directives this plugin will respect while caching responses
61-
* @var CacheKeyGenerator $cache_key_generator a class to generate the cache key. Defaults to SimpleGenerator
61+
* @var CacheKeyGenerator $cache_key_generator an object to generate the cache key. Defaults to a new instance of SimpleGenerator
6262
* }
6363
*/
6464
public function __construct(CacheItemPoolInterface $pool, StreamFactory $streamFactory, array $config = [])

0 commit comments

Comments
 (0)