From a282ee5301dc9b7eccc6cded44cf276568febaf8 Mon Sep 17 00:00:00 2001 From: Stanislau Komar Date: Mon, 15 Jun 2026 05:02:38 +0400 Subject: [PATCH] v1.6.3.1 - fix route generator. --- src/Business/Generator/UrlGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Business/Generator/UrlGenerator.php b/src/Business/Generator/UrlGenerator.php index 4f61c97..256ddc9 100644 --- a/src/Business/Generator/UrlGenerator.php +++ b/src/Business/Generator/UrlGenerator.php @@ -40,7 +40,7 @@ public function generateUrlByRouteName(string $routeName, array|null $parameters } foreach ($parameters as $key => $value) { - $uri = str_replace(sprintf('{%s}', $key), $value, $uri); + $uri = str_replace(sprintf('{%s}', $key), (string) $value, $uri); } return $uri;