@@ -6,7 +6,7 @@ |
||
6 | 6 | use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; |
7 | 7 | use function Symfony\Component\DependencyInjection\Loader\Configurator\service; |
8 | 8 | |
9 | -return static function (ContainerConfigurator $containerConfigurator): void { |
|
9 | +return static function(ContainerConfigurator $containerConfigurator): void { |
|
10 | 10 | |
11 | 11 | $services = $containerConfigurator->services(); |
12 | 12 |
@@ -22,7 +22,7 @@ |
||
22 | 22 | public function __construct( |
23 | 23 | RouterInterface $router, |
24 | 24 | ParameterBagInterface $parameterBag, |
25 | - $localeRouteParam = '_locale', |
|
25 | + $localeRouteParam = '_locale', |
|
26 | 26 | ) |
27 | 27 | { |
28 | 28 | $this->routeCollection = $router->getRouteCollection(); |
@@ -63,7 +63,7 @@ |
||
63 | 63 | |
64 | 64 | public function isLocaleSupported($locale): bool |
65 | 65 | { |
66 | - $supportedLocale = array_filter($this->supportedLocales, function ($supportedLocale) use ($locale) { |
|
66 | + $supportedLocale = array_filter($this->supportedLocales, function($supportedLocale) use ($locale) { |
|
67 | 67 | return in_array($supportedLocale, explode('_', $locale)); |
68 | 68 | }); |
69 | 69 |