From 42832163c1fa5a1fca9021640008fb257d77dc73 Mon Sep 17 00:00:00 2001 From: gguseynov Date: Mon, 27 Oct 2025 16:08:57 +0100 Subject: [PATCH] Allow defaultLocale to be null for generating common symfony "routeName.{_locale}" routes. --- src/Router/AdminRouteGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Router/AdminRouteGenerator.php b/src/Router/AdminRouteGenerator.php index f44c701709..ae9f2f69cd 100644 --- a/src/Router/AdminRouteGenerator.php +++ b/src/Router/AdminRouteGenerator.php @@ -84,7 +84,7 @@ public function __construct( private readonly CacheItemPoolInterface $cache, private readonly Filesystem $filesystem, private readonly string $buildDir, - private readonly string $defaultLocale, + private readonly ?string $defaultLocale, private readonly iterable $adminRouteControllers = [], ) { }