8000 Merge branch '3.4' into 4.1 · symfony/symfony-docs@e091d3c · GitHub
[go: up one dir, main page]

Skip to content

Commit e091d3c

Browse files
committed
Merge branch '3.4' into 4.1
* 3.4: stop using the deprecated @method annotation
2 parents 2ba4c73 + 795febe commit e091d3c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

routing/requirements.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ accomplished with the following route configuration:
207207
}
208208
209209
/**
210-
* @Route("/api/posts/{id}", methods="PUT")
210+
* @Route("/api/posts/{id}", methods={"PUT"})
211211
*/
212212
public function edit($id)
213213
{

service_container/autowiring.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Now, you can use the ``TwitterClient`` service immediately in a controller::
131131
class DefaultController extends AbstractController
132132
{
133133
/**
134-
* @Route("/tweet")
134+
* @Route("/tweet", methods={"POST"})
135135
*/
136136
public function tweet()
137137
{

0 commit comments

Comments
 (0)
0