File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- declare (strict_types=1 );
4
-
5
3
namespace Symfony \UX \Translator \DependencyInjection ;
6
4
7
5
use Symfony \Component \DependencyInjection \Compiler \CompilerPassInterface ;
10
8
11
9
class TranslatorCompilerPass implements CompilerPassInterface
12
10
{
13
- public function process (ContainerBuilder $ container )
11
+ public function process (ContainerBuilder $ container ): void
14
12
{
15
13
if (!$ this ->hasValidTranslator ($ container )) {
16
14
$ container ->removeDefinition ('ux.translator.cache_warmer.translations_cache_warmer ' );
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public function getPath(): string
29
29
return \dirname (__DIR__ );
30
30
}
31
31
32
- public function build (ContainerBuilder $ container )
32
+ public function build (ContainerBuilder $ container ): void
33
33
{
34
34
$ container ->addCompilerPass (new TranslatorCompilerPass ());
35
35
}
You can’t perform that action at this time.
0 commit comments