Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 9cfa8fd

Browse files
committed
Merge branch 'hotfix/232'
Close #232
2 parents eea72b4 + a063fbd commit 9cfa8fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/book/container/aura-di.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class Common extends ContainerConfig
107107
$router->addRoute(new Route('/hello/{name}', function ($request, $response, $next) {
108108
$escaper = new Escaper();
109109
$name = $request->getAttribute('name', 'World');
110-
$response->write('Hello ' . $escaper->escapeHtml($name));
110+
$response->getBody()->write('Hello ' . $escaper->escapeHtml($name));
111111
return $response;
112112
}, Route::HTTP_METHOD_ANY, 'hello'));
113113
*/

doc/book/quick-start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ require 'vendor/autoload.php';
6363
$app = AppFactory::create();
6464

6565
$app->get('/', function ($request, $response, $next) {
66-
$response->write('Hello, world!');
66+
$response->getBody()->write('Hello, world!');
6767
return $response;
6868
});
6969

0 commit comments

Comments
 (0)