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

Commit b3f5a07

Browse files
committed
Merge branch 'hotfix/113' into develop
Forward port #113
2 parents a06d13c + db3e7b0 commit b3f5a07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/book/template/middleware.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ class EntryMiddleware
9696
Alternately, you can write to the composed response:
9797

9898
```php
99-
$response->getBody()->write($this->templates->render('blog::entry'), [
99+
$response->getBody()->write($this->templates->render('blog::entry', [
100100
'entry' => $entry,
101-
]);
101+
]));
102102
return $response;
103103
```

0 commit comments

Comments
 (0)