Skip to content

Commit e65e6f4

Browse files
committed
chore: check if fabbot is correctly working
1 parent f5b1413 commit e65e6f4

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

src/Translator/src/DependencyInjection/TranslatorCompilerPass.php

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
11
<?php
22

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-
123
namespace Symfony\UX\Translator\DependencyInjection;
134

145
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
@@ -30,11 +21,11 @@ private function hasValidTranslator(ContainerBuilder $containerBuilder): bool
3021
return false;
3122
}
3223

33-
$translator = $containerBuilder->getDefinition('translator');
24+
$translator = $containerBuilder->getDefinition('translator');
3425
if (!is_subclass_of($translator->getClass(), TranslatorBagInterface::class)) {
3526
return false;
3627
}
3728

3829
return true;
3930
}
40-
}
31+
}

0 commit comments

Comments
 (0)