Skip to content

Commit bc2148f

Browse files
authored
Update micro_kernel_trait.rst
The operator to assign the route name should be ':' instead of "="
1 parent 7c239dc commit bc2148f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configuration/micro_kernel_trait.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Next, create an ``index.php`` file that defines the kernel class and runs it:
5555
]);
5656
}
5757
58-
#[Route('/random/{limit}', name='random_number')]
58+
#[Route('/random/{limit}', name:'random_number')]
5959
public function randomNumber(int $limit): JsonResponse
6060
{
6161
return new JsonResponse([

0 commit comments

Comments
 (0)