Skip to content

Commit 4787f7c

Browse files
committed
bug #8769 doc(http_foundation) (Sydney-o9)
This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes #8769). Discussion ---------- doc(http_foundation) - [x] Fixed code error which used `create()` instead of constructor method. Fix #8768. Commits ------- 038876e doc(http_foundation.rst): Fix code error which used create() instead of constructor method.
2 parents e1d1dcd + 038876e commit 4787f7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/http_foundation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ PHP callable that is able to create an instance of your ``Request`` class::
304304
array $server = array(),
305305
$content = null
306306
) {
307-
return SpecialRequest::create(
307+
return new SpecialRequest(
308308
$query,
309309
$request,
310310
$attributes,

0 commit comments

Comments
 (0)