From 39747f6db9170919a858ca5efa117a3044e0fdd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andre=CC=81=20R?= Date: Thu, 2 Jul 2020 16:49:36 +0200 Subject: [PATCH] Fix usage of HttpCacheBundle TagHandler when it should be lib version --- docs/using_tags.md | 2 +- src/DependencyInjection/Compiler/DriverPass.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/using_tags.md b/docs/using_tags.md index 748a284a..24e779ce 100644 --- a/docs/using_tags.md +++ b/docs/using_tags.md @@ -147,7 +147,7 @@ For PHP usage, a few options exist _(autowirable classes of '@fos_http_cache.han * Using low level Tag handler to add tags manually. * WARNING: This FOS class name, and service name is different in v3 (FosHttpCache 2.x). * - * @var \FOS\HttpCacheBundle\Handler\TagHandler $tagHandler + * @var \FOS\HttpCache\Handler\TagHandler $tagHandler */ $tagHandler->addTags(['relation-33', 'relation-44']); diff --git a/src/DependencyInjection/Compiler/DriverPass.php b/src/DependencyInjection/Compiler/DriverPass.php index 2fd4796c..567bbd99 100644 --- a/src/DependencyInjection/Compiler/DriverPass.php +++ b/src/DependencyInjection/Compiler/DriverPass.php @@ -7,7 +7,7 @@ namespace EzSystems\PlatformHttpCacheBundle\DependencyInjection\Compiler; use EzSystems\PlatformHttpCacheBundle\Handler\ContentTagInterface; -use FOS\HttpCacheBundle\Handler\TagHandler as FOSTagHandler; +use FOS\HttpCache\Handler\TagHandler as FOSTagHandler; use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; use Symfony\Component\DependencyInjection\ContainerBuilder;