Documenting bug for api.

This commit is contained in:
Dennis Eichhorn 2016-02-11 21:11:43 +01:00
parent 477cec1c26
commit 80d7f78e72

View File

@ -265,6 +265,9 @@ class Response extends ResponseAbstract implements RenderableInterface
{
$render = $this->head->render();
// todo: fix api return
// right now it is_object hence not printing the request key => object and only object->render();
// this can't be changed easily since view uses this as well and this mustn't print a key. maybe view instanceof View?
foreach ($this->response as $key => $response) {
if (is_object($response)) {
$render .= $response->render();