From abfa6c939176d473cbc2471cb25baf07aaf50724 Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Fri, 19 Jul 2024 08:18:08 +0200 Subject: [PATCH] [Translator] Fix CS on TranslatorCompilerPass --- .../DependencyInjection/TranslatorCompilerPass.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/Translator/src/DependencyInjection/TranslatorCompilerPass.php b/src/Translator/src/DependencyInjection/TranslatorCompilerPass.php index 9262c137437..1b69209aa00 100644 --- a/src/Translator/src/DependencyInjection/TranslatorCompilerPass.php +++ b/src/Translator/src/DependencyInjection/TranslatorCompilerPass.php @@ -1,5 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace Symfony\UX\Translator\DependencyInjection; use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; @@ -25,6 +34,7 @@ private function hasValidTranslator(ContainerBuilder $containerBuilder): bool if (!is_subclass_of($translator->getClass(), TranslatorBagInterface::class)) { return false; } + return true; } -} \ No newline at end of file +}