Skip to content

Commit c85de08

Browse files
committed
Revert attribute route
1 parent 558b02e commit c85de08

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

configuration/micro_kernel_trait.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,9 @@ has one file in it::
297297

298298
class MicroController extends AbstractController
299299
{
300-
#[Route('/random/{limit}')]
300+
/**
301+
* @Route("/random/{limit}")
302+
*/
301303
public function randomNumber(int $limit): Response
302304
{
303305
$number = random_int(0, $limit);

0 commit comments

Comments
 (0)