From 59e64b4ff30bdd03dcd6bbd2d9021f5ce4f6aaa6 Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 23 Jan 2018 18:34:28 +0000 Subject: [PATCH] Use getContent() to access the content of the current request, rather than the protected content property --- src/Router.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Router.php b/src/Router.php index 60309a2..4b7f465 100644 --- a/src/Router.php +++ b/src/Router.php @@ -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;