We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 391e250 commit abfa6c9Copy full SHA for abfa6c9
src/Translator/src/DependencyInjection/TranslatorCompilerPass.php
@@ -1,5 +1,14 @@
1
<?php
2
3
+/*
4
+ * This file is part of the Symfony package.
5
+ *
6
+ * (c) Fabien Potencier <fabien@symfony.com>
7
8
+ * For the full copyright and license information, please view the LICENSE
9
+ * file that was distributed with this source code.
10
+ */
11
+
12
namespace Symfony\UX\Translator\DependencyInjection;
13
14
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
@@ -25,6 +34,7 @@ private function hasValidTranslator(ContainerBuilder $containerBuilder): bool
25
34
if (!is_subclass_of($translator->getClass(), TranslatorBagInterface::class)) {
26
35
return false;
27
36
}
37
28
38
return true;
29
39
30
-}
40
+}
0 commit comments