From 7f04f3734e704da91f44d114ff092b7b5beb814b Mon Sep 17 00:00:00 2001 From: Luc Date: Thu, 17 Jun 2021 11:43:31 +0200 Subject: [PATCH] Update routing.rst --- routing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routing.rst b/routing.rst index 795459d02be..e68f04eba18 100644 --- a/routing.rst +++ b/routing.rst @@ -1892,7 +1892,7 @@ use the ``generateUrl()`` helper:: While objects are converted to string when used as placeholders, they are not converted when used as extra parameters. So, if you're passing an object (e.g. an Uuid) - as value of an extra parameter, you need to explictly convert it to a string:: + as value of an extra parameter, you need to explicitly convert it to a string:: $this->generateUrl('blog', ['uuid' => (string) $entity->getUuid()]);