From 31b68ddb809b82ee18a5af14a4256afa0ad95405 Mon Sep 17 00:00:00 2001 From: Koray Date: Thu, 2 Feb 2017 10:19:01 +0200 Subject: [PATCH] Fixed Typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 86b7bb37..c32f0070 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ $klein->respond(function ($request, $response, $service) { $klein->respond('/report.[xml|csv|json:format]?', function ($request, $response, $service) { // Get the format or fallback to JSON as the default $send = $request->param('format', 'json'); - $response->$send($report); + $response->send($report); }); $klein->respond('/report/latest', function ($request, $response, $service) {