We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4dfb301 commit 2cccec7Copy full SHA for 2cccec7
src/CachePlugin.php
@@ -62,7 +62,7 @@ public function __construct(CacheItemPoolInterface $pool, StreamFactory $streamF
62
$this->pool = $pool;
63
$this->streamFactory = $streamFactory;
64
65
- if (isset($config['respect_cache_headers']) && $config['respect_response_cache_directives']) {
+ if (isset($config['respect_cache_headers']) && isset($config['respect_response_cache_directives'])) {
66
throw new \InvalidArgumentException(
67
'You can\'t provide config option "respect_cache_headers" and "respect_response_cache_directives". '.
68
'Use "respect_response_cache_directives" instead.'
0 commit comments