Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 038876e

Browse filesBrowse 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
Copy full SHA for 038876e

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎components/http_foundation.rst

Copy file name to clipboardExpand all lines: components/http_foundation.rst
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.