We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21d9cb1 commit 2075bb9Copy full SHA for 2075bb9
page_creation.rst
@@ -118,7 +118,7 @@ You can now add your route directly *above* the controller:
118
+ /**
119
+ * @Route("/lucky/number")
120
+ */
121
- public function number()
+ public function number(): Response
122
{
123
// this looks exactly the same
124
}
@@ -134,7 +134,7 @@ You can now add your route directly *above* the controller:
134
class LuckyController
135
136
+ #[Route('/lucky/number')]
137
138
139
140
0 commit comments