Skip to content

Commit 659bffa

Browse files
committed
Merge branch '5.3' into 5.4
* 5.3: Update page_creation.rst
2 parents 3e7371e + 80486e7 commit 659bffa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

page_creation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ You can now add your route directly *above* the controller:
118118
+ /**
119119
+ * @Route("/lucky/number")
120120
+ */
121-
public function number()
121+
public function number(): Response
122122
{
123123
// this looks exactly the same
124124
}
@@ -134,7 +134,7 @@ You can now add your route directly *above* the controller:
134134
class LuckyController
135135
{
136136
+ #[Route('/lucky/number')]
137-
public function number()
137+
public function number(): Response
138138
{
139139
// this looks exactly the same
140140
}

0 commit comments

Comments
 (0)