Skip to content

Commit 038876e

Browse files
Sydney-o9weaverryan
authored andcommitted
doc(http_foundation.rst): Fix code error which used create() instead of
constructor method. Fix #8768.
1 parent e1d1dcd commit 038876e

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)