Skip to content

Commit 5f8b32f

Browse files
committed
Merge branch '7.4' into 8.0
* 7.4: Fix controller name
2 parents 853c609 + 11bc140 commit 5f8b32f

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
@@ -169,14 +169,14 @@ which is a common practice when following the `ADR pattern`_
169169

170170
.. code-block:: php-attributes
171171
172-
// src/Controller/Hello.php
172+
// src/Controller/HelloController.php
173173
namespace App\Controller;
174174
175175
use Symfony\Component\HttpFoundation\Response;
176176
use Symfony\Component\Routing\Attribute\Route;
177177
178178
#[Route('/hello/{name}', name: 'hello')]
179-
class Hello
179+
class HelloController
180180
{
181181
public function __invoke(string $name = 'World'): Response
182182
{

0 commit comments

Comments
 (0)