From 96c319f42471936de24cebfefaf47b1077efe0bd Mon Sep 17 00:00:00 2001 From: inwebo Date: Thu, 20 Nov 2025 09:10:07 +0100 Subject: [PATCH] Fix controller name --- controller/service.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controller/service.rst b/controller/service.rst index 88af093ff29..e90e114ba77 100644 --- a/controller/service.rst +++ b/controller/service.rst @@ -153,14 +153,14 @@ which is a common practice when following the `ADR pattern`_ .. code-block:: php-attributes - // src/Controller/Hello.php + // src/Controller/HelloController.php namespace App\Controller; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Attribute\Route; #[Route('/hello/{name}', name: 'hello')] - class Hello + class HelloController { public function __invoke(string $name = 'World'): Response {