Skip to content

Commit 9c292e0

Browse files
author
Michael Weibel
committed
Allow cache tagging when using noop client
1 parent d2b20e4 commit 9c292e0

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)