Skip to content

Commit 184ca7d

Browse files
committed
Fixed exception message
1 parent b033596 commit 184ca7d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/CachePlugin.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,10 @@ public function __construct(CacheItemPoolInterface $pool, StreamFactory $streamF
6464
$this->streamFactory = $streamFactory;
6565

6666
if (isset($config['respect_cache_headers']) && $config['respect_response_cache_directives']) {
67-
throw new \InvalidArgumentException('You can\'t provide config option "respect_cache_headers" and "respect_response_cache_directives". Use "respect_response_cache_directives" instead.');
67+
throw new \InvalidArgumentException(
68+
'You can\'t provide config option "respect_cache_headers" and "respect_response_cache_directives". ' .
69+
'Use "respect_response_cache_directives" instead.'
70+
);
6871
}
6972

7073
$optionsResolver = new OptionsResolver();

0 commit comments

Comments
 (0)