Skip to content

Commit 0ed5c85

Browse files
author
Till Hildebrandt
committed
Fix CI # 2
- honestly, the lengths of a line should be fixed.
1 parent 5fcfc39 commit 0ed5c85

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/CachePlugin.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ final class CachePlugin implements Plugin
6060
* we have to store the cache for a longer time than the server originally says it is valid for.
6161
* We store a cache item for $cache_lifetime + max age of the response.
6262
* @var array $methods list of request methods which can be cached
63-
* @var array $blacklisted_paths list of regex patterns of paths explicitly not to be cached.
63+
* @var array $blacklisted_paths list of regex patterns of paths explicitly not to be cached
6464
* @var array $respect_response_cache_directives list of cache directives this plugin will respect while caching responses
6565
* @var CacheKeyGenerator $cache_key_generator an object to generate the cache key. Defaults to a new instance of SimpleGenerator
6666
* @var CacheListener[] $cache_listeners an array of objects to act on the response based on the results of the cache check.
@@ -73,12 +73,10 @@ public function __construct(CacheItemPoolInterface $pool, StreamFactory $streamF
7373
$this->streamFactory = $streamFactory;
7474

7575
if (isset($config['respect_cache_headers']) && isset($config['respect_response_cache_directives'])) {
76-
throw new \InvalidArgumentException(
77-
'You can\'t provide config option "respect_cache_headers" and "respect_response_cache_directives". '.
78-
'Use "respect_response_cache_directives" instead.'
79-
);
76+
throw new \InvalidArgumentException('You can\'t provide config option "respect_cache_headers" and "respect_response_cache_directives". '.'Use "respect_response_cache_directives" instead.');
8077
}
8178

79+
8280
$optionsResolver = new OptionsResolver();
8381
$this->configureOptions($optionsResolver);
8482
$this->config = $optionsResolver->resolve($config);

0 commit comments

Comments
 (0)