Skip to content

Commit 1887e19

Browse files
authored
Merge pull request #374 from mweibel/allow-noop-client-cache-tagging
Allow cache tagging when using noop client
2 parents d2b20e4 + 9c292e0 commit 1887e19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DependencyInjection/FOSHttpCacheExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ private function loadCacheTagging(ContainerBuilder $container, XmlFileLoader $lo
400400

401401
return;
402402
}
403-
if (!in_array($client, ['varnish', 'custom'])) {
403+
if (!in_array($client, ['varnish', 'custom', 'noop'])) {
404404
throw new InvalidConfigurationException(sprintf('You can not enable cache tagging with the %s client', $client));
405405
}
406406

0 commit comments

Comments
 (0)