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 +}