Skip to content

Commit 2aed56f

Browse files
committed
minor #11811 [HttpFoundation] fix comment: not fourth but sixth argument (DQNEO)
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #11811). Discussion ---------- [HttpFoundation] fix comment: not fourth but sixth argument $server is the **sixth** argument, not fourth. | Q | A | ------------- | --- | Bug fix? | no, | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Commits ------- 42841e8 fix comment: not fourth but sixth argument
2 parents 62bc2c4 + 42841e8 commit 2aed56f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpFoundation/Tests/RequestTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function testInitialize()
4242
$this->assertEquals('bar', $request->attributes->get('foo'), '->initialize() takes an array of attributes as its third argument');
4343

4444
$request->initialize(array(), array(), array(), array(), array(), array('HTTP_FOO' => 'bar'));
45-
$this->assertEquals('bar', $request->headers->get('FOO'), '->initialize() takes an array of HTTP headers as its fourth argument');
45+
$this->assertEquals('bar', $request->headers->get('FOO'), '->initialize() takes an array of HTTP headers as its sixth argument');
4646
}
4747

4848
public function testGetLocale()

0 commit comments

Comments
 (0)