Skip to content

Commit 96c319f

Browse files
committed
Fix controller name
1 parent ceab14b commit 96c319f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

controller/service.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,14 +153,14 @@ which is a common practice when following the `ADR pattern`_
153153

154154
.. code-block:: php-attributes
155155
156-
// src/Controller/Hello.php
156+
// src/Controller/HelloController.php
157157
namespace App\Controller;
158158
159159
use Symfony\Component\HttpFoundation\Response;
160160
use Symfony\Component\Routing\Attribute\Route;
161161
162162
#[Route('/hello/{name}', name: 'hello')]
163-
class Hello
163+
class HelloController
164164
{
165165
public function __invoke(string $name = 'World'): Response
166166
{

0 commit comments

Comments
 (0)