diff --git a/README.md b/README.md index 9cef4b9..a601d9c 100644 --- a/README.md +++ b/README.md @@ -384,7 +384,7 @@ Example: * @return \Pecee\Http\Input\Input */ function input() { - return new \Pecee\Http\Input\Input(); + return \Pecee\Http\Request::getInstance()->getInput(); } ```