File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
src/Translator/src/DependencyInjection Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- /*
4
- * This file is part of the Symfony package.
5
- *
6
- * (c) Fabien Potencier <[email protected] >
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
3
namespace Symfony \UX \Translator \DependencyInjection ;
13
4
14
5
use Symfony \Component \DependencyInjection \Compiler \CompilerPassInterface ;
@@ -30,11 +21,11 @@ private function hasValidTranslator(ContainerBuilder $containerBuilder): bool
30
21
return false ;
31
22
}
32
23
33
- $ translator = $ containerBuilder ->getDefinition ('translator ' );
24
+ $ translator = $ containerBuilder ->getDefinition ('translator ' );
34
25
if (!is_subclass_of ($ translator ->getClass (), TranslatorBagInterface::class)) {
35
26
return false ;
36
27
}
37
28
38
29
return true ;
39
30
}
40
- }
31
+ }
You can’t perform that action at this time.
0 commit comments