Skip to content

Commit

Permalink
Update doc example about ServerRequestFactory::fromGlobals().
Browse files Browse the repository at this point in the history
  • Loading branch information
maurobonfietti committed Oct 13, 2020
1 parent 177f655 commit 7edab69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/book/v1/api.md
Expand Up @@ -119,7 +119,7 @@ $request = ServerRequestFactory::fromGlobals();

// Returns new ServerRequest instance, using values provided (in this
// case, equivalent to the previous!)
$request = RequestFactory::fromGlobals(
$request = ServerRequestFactory::fromGlobals(
$_SERVER,
$_GET,
$_POST,
Expand Down
2 changes: 1 addition & 1 deletion docs/book/v2/api.md
Expand Up @@ -117,7 +117,7 @@ $request = ServerRequestFactory::fromGlobals();

// Returns new ServerRequest instance, using values provided (in this
// case, equivalent to the previous!)
$request = RequestFactory::fromGlobals(
$request = ServerRequestFactory::fromGlobals(
$_SERVER,
$_GET,
$_POST,
Expand Down

0 comments on commit 7edab69

Please sign in to comment.