From adf8111c6e30b8cef704bfc992766e065a33fdf9 Mon Sep 17 00:00:00 2001 From: Greg ORIOL Date: Sat, 9 Mar 2019 14:00:56 +0100 Subject: [PATCH] Add missing bracket on a php code example --- routing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routing.rst b/routing.rst index 6355bb3dd63..2c8a6b0bdb6 100644 --- a/routing.rst +++ b/routing.rst @@ -566,7 +566,7 @@ placeholder: use App\Controller\BlogController; return function (RoutingConfigurator $routes) { - $routes->add('blog_list', '/blog/{page<\d+>?1') + $routes->add('blog_list', '/blog/{page<\d+>?1}') ->controller([BlogController::class, 'list']) ; };