Skip to content

Commit 39facb8

Browse files
committed
Styleci fixes
1 parent 184ca7d commit 39facb8

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/CachePlugin.php

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,16 @@ final class CachePlugin implements Plugin
4747
* @param array $config {
4848
*
4949
* @var bool $respect_cache_headers Whether to look at the cache directives or ignore them. This option is
50-
* deprecated, use `respect_response_cache_directives` instead
51-
* @var int $default_ttl (seconds) If we do not respect cache headers or can't calculate a good ttl, use this
52-
* value
53-
* @var string $hash_algo The hashing algorithm to use when generating cache keys
54-
* @var int $cache_lifetime (seconds) To support serving a previous stale response when the server answers 304
55-
* we have to store the cache for a longer time than the server originally says it is valid for.
56-
* We store a cache item for $cache_lifetime + max age of the response.
57-
* @var array $methods list of request methods which can be cached
58-
* @var array $respect_response_cache_directives list of cache directives this plugin will respect while caching responses.
59-
* }.
50+
* deprecated, use `respect_response_cache_directives` instead
51+
* @var int $default_ttl (seconds) If we do not respect cache headers or can't calculate a good ttl, use this
52+
* value
53+
* @var string $hash_algo The hashing algorithm to use when generating cache keys
54+
* @var int $cache_lifetime (seconds) To support serving a previous stale response when the server answers 304
55+
* we have to store the cache for a longer time than the server originally says it is valid for.
56+
* We store a cache item for $cache_lifetime + max age of the response.
57+
* @var array $methods list of request methods which can be cached
58+
* @var array $respect_response_cache_directives list of cache directives this plugin will respect while caching responses.
59+
* }.
6060
*/
6161
public function __construct(CacheItemPoolInterface $pool, StreamFactory $streamFactory, array $config = [])
6262
{
@@ -65,7 +65,7 @@ public function __construct(CacheItemPoolInterface $pool, StreamFactory $streamF
6565

6666
if (isset($config['respect_cache_headers']) && $config['respect_response_cache_directives']) {
6767
throw new \InvalidArgumentException(
68-
'You can\'t provide config option "respect_cache_headers" and "respect_response_cache_directives". ' .
68+
'You can\'t provide config option "respect_cache_headers" and "respect_response_cache_directives". '.
6969
'Use "respect_response_cache_directives" instead.'
7070
);
7171
}
@@ -81,7 +81,7 @@ public function __construct(CacheItemPoolInterface $pool, StreamFactory $streamF
8181
*
8282
* @param CacheItemPoolInterface $pool
8383
* @param StreamFactory $streamFactory
84-
* @param array $config For all possible config options see the constructor docs
84+
* @param array $config For all possible config options see the constructor docs
8585
*
8686
* @return CachePlugin
8787
*/
@@ -105,7 +105,7 @@ public static function clientCache(CacheItemPoolInterface $pool, StreamFactory $
105105
*
106106
* @param CacheItemPoolInterface $pool
107107
* @param StreamFactory $streamFactory
108-
* @param array $config For all possible config options see the constructor docs
108+
* @param array $config For all possible config options see the constructor docs
109109
*
110110
* @return CachePlugin
111111
*/

0 commit comments

Comments
 (0)