Skip to content

Commit

Permalink
Use getContent() to access the content of the current request, rather…
Browse files Browse the repository at this point in the history
… than the protected content property
  • Loading branch information
sijones-uk committed Jan 23, 2018
1 parent d41b691 commit 59e64b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function singleRequest($method, $uri, array $data = [], array $headers =
$currentRequest->cookies->all(),
$currentRequest->files->all(),
$currentRequest->server->all(),
$currentRequest->content
$currentRequest->getContent()
);

return $response;
Expand Down

0 comments on commit 59e64b4

Please sign in to comment.