Skip to content

Commit e7f7391

Browse files
committed
Merge branch '2.3' into 2.7
2 parents 9b7fe51 + 63f44e3 commit e7f7391

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

book/http_cache.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ Here is how you can configure the Symfony reverse proxy to support the
912912
if ('127.0.0.1' !== $request->getClientIp()) {
913913
return new Response(
914914
'Invalid HTTP method',
915-
Response::HTTP_BAD_REQUEST
915+
400
916916
);
917917
}
918918

book/testing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ document::
277277
$this->assertTrue($client->getResponse()->isNotFound());
278278
// Assert a specific 200 status code
279279
$this->assertEquals(
280-
200, // or Symfony\Component\HttpFoundation\Response::HTTP_OK
280+
200,
281281
$client->getResponse()->getStatusCode()
282282
);
283283

0 commit comments

Comments
 (0)