{"action":"created","comment":{"url":"https://api.github.com/repos/slimphp/Twig-View/pulls/comments/29993721","id":29993721,"diff_hunk":"@@ -104,7 +104,9 @@ public function fetch($template, $data = [])\n      */\n     public function render(ResponseInterface $response, $template, $data = [])\n     {\n-         return $response->getBody()->write($this->fetch($template, $data));\n+         $response->getBody()->write($this->fetch($template, $data));","path":"src/Twig.php","position":5,"original_position":5,"commit_id":"9a7baab545ed70607a28e7fe7fa15b6965a327e0","original_commit_id":"9a7baab545ed70607a28e7fe7fa15b6965a327e0","user":{"login":"namaless","id":21750,"avatar_url":"https://avatars.githubusercontent.com/u/21750?v=3","gravatar_id":"","url":"https://api.github.com/users/namaless","html_url":"https://github.com/namaless","followers_url":"https://api.github.com/users/namaless/followers","following_url":"https://api.github.com/users/namaless/following{/other_user}","gists_url":"https://api.github.com/users/namaless/gists{/gist_id}","starred_url":"https://api.github.com/users/namaless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/namaless/subscriptions","organizations_url":"https://api.github.com/users/namaless/orgs","repos_url":"https://api.github.com/users/namaless/repos","events_url":"https://api.github.com/users/namaless/events{/privacy}","received_events_url":"https://api.github.com/users/namaless/received_events","type":"User","site_admin":false},"body":"use without getBody instead for not give error in the router call.","created_at":"2015-05-09T16:02:11Z","updated_at":"2015-05-09T16:02:11Z","html_url":"https://github.com/slimphp/Twig-View/pull/5#discussion_r29993721","pull_request_url":"https://api.github.com/repos/slimphp/Twig-View/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/slimphp/Twig-View/pulls/comments/29993721"},"html":{"href":"https://github.com/slimphp/Twig-View/pull/5#discussion_r29993721"},"pull_request":{"href":"https://api.github.com/repos/slimphp/Twig-View/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/slimphp/Twig-View/pulls/5","id":33713567,"html_url":"https://github.com/slimphp/Twig-View/pull/5","diff_url":"https://github.com/slimphp/Twig-View/pull/5.diff","patch_url":"https://github.com/slimphp/Twig-View/pull/5.patch","issue_url":"https://api.github.com/repos/slimphp/Twig-View/issues/5","number":5,"state":"open","locked":false,"title":"render must return a ResponseInterface","user":{"login":"ppaysant","id":8192056,"avatar_url":"https://avatars.githubusercontent.com/u/8192056?v=3","gravatar_id":"","url":"https://api.github.com/users/ppaysant","html_url":"https://github.com/ppaysant","followers_url":"https://api.github.com/users/ppaysant/followers","following_url":"https://api.github.com/users/ppaysant/following{/other_user}","gists_url":"https://api.github.com/users/ppaysant/gists{/gist_id}","starred_url":"https://api.github.com/users/ppaysant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppaysant/subscriptions","organizations_url":"https://api.github.com/users/ppaysant/orgs","repos_url":"https://api.github.com/users/ppaysant/repos","events_url":"https://api.github.com/users/ppaysant/events{/privacy}","received_events_url":"https://api.github.com/users/ppaysant/received_events","type":"User","site_admin":false},"body":"$response->getBody()->write returns an int or false.","created_at":"2015-04-20T22:45:04Z","updated_at":"2015-05-09T16:02:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3bbf78bd241c0fff131e10b702defacfe344ba0c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/slimphp/Twig-View/pulls/5/commits","review_comments_url":"https://api.github.com/repos/slimphp/Twig-View/pulls/5/comments","review_comment_url":"https://api.github.com/repos/slimphp/Twig-View/pulls/comments{/number}","comments_url":"https://api.github.com/repos/slimphp/Twig-View/issues/5/comments","statuses_url":"https://api.github.com/repos/slimphp/Twig-View/statuses/9a7baab545ed70607a28e7fe7fa15b6965a327e0","head":{"label":"ppaysant:fix_render","ref":"fix_render","sha":"9a7baab545ed70607a28e7fe7fa15b6965a327e0","user":{"login":"ppaysant","id":8192056,"avatar_url":"https://avatars.githubusercontent.com/u/8192056?v=3","gravatar_id":"","url":"https://api.github.com/users/ppaysant","html_url":"https://github.com/ppaysant","followers_url":"https://api.github.com/users/ppaysant/followers","following_url":"https://api.github.com/users/ppaysant/following{/other_user}","gists_url":"https://api.github.com/users/ppaysant/gists{/gist_id}","starred_url":"https://api.github.com/users/ppaysant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppaysant/subscriptions","organizations_url":"https://api.github.com/users/ppaysant/orgs","repos_url":"https://api.github.com/users/ppaysant/repos","events_url":"https://api.github.com/users/ppaysant/events{/privacy}","received_events_url":"https://api.github.com/users/ppaysant/received_events","type":"User","site_admin":false},"repo":{"id":34290289,"name":"Twig-View","full_name":"ppaysant/Twig-View","owner":{"login":"ppaysant","id":8192056,"avatar_url":"https://avatars.githubusercontent.com/u/8192056?v=3","gravatar_id":"","url":"https://api.github.com/users/ppaysant","html_url":"https://github.com/ppaysant","followers_url":"https://api.github.com/users/ppaysant/followers","following_url":"https://api.github.com/users/ppaysant/following{/other_user}","gists_url":"https://api.github.com/users/ppaysant/gists{/gist_id}","starred_url":"https://api.github.com/users/ppaysant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppaysant/subscriptions","organizations_url":"https://api.github.com/users/ppaysant/orgs","repos_url":"https://api.github.com/users/ppaysant/repos","events_url":"https://api.github.com/users/ppaysant/events{/privacy}","received_events_url":"https://api.github.com/users/ppaysant/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ppaysant/Twig-View","description":"Slim Framework view layer built on top of Twig","fork":true,"url":"https://api.github.com/repos/ppaysant/Twig-View","forks_url":"https://api.github.com/repos/ppaysant/Twig-View/forks","keys_url":"https://api.github.com/repos/ppaysant/Twig-View/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ppaysant/Twig-View/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ppaysant/Twig-View/teams","hooks_url":"https://api.github.com/repos/ppaysant/Twig-View/hooks","issue_events_url":"https://api.github.com/repos/ppaysant/Twig-View/issues/events{/number}","events_url":"https://api.github.com/repos/ppaysant/Twig-View/events","assignees_url":"https://api.github.com/repos/ppaysant/Twig-View/assignees{/user}","branches_url":"https://api.github.com/repos/ppaysant/Twig-View/branches{/branch}","tags_url":"https://api.github.com/repos/ppaysant/Twig-View/tags","blobs_url":"https://api.github.com/repos/ppaysant/Twig-View/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ppaysant/Twig-View/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ppaysant/Twig-View/git/refs{/sha}","trees_url":"https://api.github.com/repos/ppaysant/Twig-View/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ppaysant/Twig-View/statuses/{sha}","languages_url":"https://api.github.com/repos/ppaysant/Twig-View/languages","stargazers_url":"https://api.github.com/repos/ppaysant/Twig-View/stargazers","contributors_url":"https://api.github.com/repos/ppaysant/Twig-View/contributors","subscribers_url":"https://api.github.com/repos/ppaysant/Twig-View/subscribers","subscription_url":"https://api.github.com/repos/ppaysant/Twig-View/subscription","commits_url":"https://api.github.com/repos/ppaysant/Twig-View/commits{/sha}","git_commits_url":"https://api.github.com/repos/ppaysant/Twig-View/git/commits{/sha}","comments_url":"https://api.github.com/repos/ppaysant/Twig-View/comments{/number}","issue_comment_url":"https://api.github.com/repos/ppaysant/Twig-View/issues/comments{/number}","contents_url":"https://api.github.com/repos/ppaysant/Twig-View/contents/{+path}","compare_url":"https://api.github.com/repos/ppaysant/Twig-View/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ppaysant/Twig-View/merges","archive_url":"https://api.github.com/repos/ppaysant/Twig-View/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ppaysant/Twig-View/downloads","issues_url":"https://api.github.com/repos/ppaysant/Twig-View/issues{/number}","pulls_url":"https://api.github.com/repos/ppaysant/Twig-View/pulls{/number}","milestones_url":"https://api.github.com/repos/ppaysant/Twig-View/milestones{/number}","notifications_url":"https://api.github.com/repos/ppaysant/Twig-View/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ppaysant/Twig-View/labels{/name}","releases_url":"https://api.github.com/repos/ppaysant/Twig-View/releases{/id}","created_at":"2015-04-20T22:39:59Z","updated_at":"2015-04-20T22:39:59Z","pushed_at":"2015-04-20T22:44:07Z","git_url":"git://github.com/ppaysant/Twig-View.git","ssh_url":"git@github.com:ppaysant/Twig-View.git","clone_url":"https://github.com/ppaysant/Twig-View.git","svn_url":"https://github.com/ppaysant/Twig-View","homepage":null,"size":112,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"slimphp:master","ref":"master","sha":"028f83b7598fd377b7c4d8080cea13d0a1d4739b","user":{"login":"slimphp","id":11195762,"avatar_url":"https://avatars.githubusercontent.com/u/11195762?v=3","gravatar_id":"","url":"https://api.github.com/users/slimphp","html_url":"https://github.com/slimphp","followers_url":"https://api.github.com/users/slimphp/followers","following_url":"https://api.github.com/users/slimphp/following{/other_user}","gists_url":"https://api.github.com/users/slimphp/gists{/gist_id}","starred_url":"https://api.github.com/users/slimphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slimphp/subscriptions","organizations_url":"https://api.github.com/users/slimphp/orgs","repos_url":"https://api.github.com/users/slimphp/repos","events_url":"https://api.github.com/users/slimphp/events{/privacy}","received_events_url":"https://api.github.com/users/slimphp/received_events","type":"Organization","site_admin":false},"repo":{"id":32223720,"name":"Twig-View","full_name":"slimphp/Twig-View","owner":{"login":"slimphp","id":11195762,"avatar_url":"https://avatars.githubusercontent.com/u/11195762?v=3","gravatar_id":"","url":"https://api.github.com/users/slimphp","html_url":"https://github.com/slimphp","followers_url":"https://api.github.com/users/slimphp/followers","following_url":"https://api.github.com/users/slimphp/following{/other_user}","gists_url":"https://api.github.com/users/slimphp/gists{/gist_id}","starred_url":"https://api.github.com/users/slimphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slimphp/subscriptions","organizations_url":"https://api.github.com/users/slimphp/orgs","repos_url":"https://api.github.com/users/slimphp/repos","events_url":"https://api.github.com/users/slimphp/events{/privacy}","received_events_url":"https://api.github.com/users/slimphp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/slimphp/Twig-View","description":"Slim Framework view layer built on top of Twig","fork":false,"url":"https://api.github.com/repos/slimphp/Twig-View","forks_url":"https://api.github.com/repos/slimphp/Twig-View/forks","keys_url":"https://api.github.com/repos/slimphp/Twig-View/keys{/key_id}","collaborators_url":"https://api.github.com/repos/slimphp/Twig-View/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/slimphp/Twig-View/teams","hooks_url":"https://api.github.com/repos/slimphp/Twig-View/hooks","issue_events_url":"https://api.github.com/repos/slimphp/Twig-View/issues/events{/number}","events_url":"https://api.github.com/repos/slimphp/Twig-View/events","assignees_url":"https://api.github.com/repos/slimphp/Twig-View/assignees{/user}","branches_url":"https://api.github.com/repos/slimphp/Twig-View/branches{/branch}","tags_url":"https://api.github.com/repos/slimphp/Twig-View/tags","blobs_url":"https://api.github.com/repos/slimphp/Twig-View/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/slimphp/Twig-View/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/slimphp/Twig-View/git/refs{/sha}","trees_url":"https://api.github.com/repos/slimphp/Twig-View/git/trees{/sha}","statuses_url":"https://api.github.com/repos/slimphp/Twig-View/statuses/{sha}","languages_url":"https://api.github.com/repos/slimphp/Twig-View/languages","stargazers_url":"https://api.github.com/repos/slimphp/Twig-View/stargazers","contributors_url":"https://api.github.com/repos/slimphp/Twig-View/contributors","subscribers_url":"https://api.github.com/repos/slimphp/Twig-View/subscribers","subscription_url":"https://api.github.com/repos/slimphp/Twig-View/subscription","commits_url":"https://api.github.com/repos/slimphp/Twig-View/commits{/sha}","git_commits_url":"https://api.github.com/repos/slimphp/Twig-View/git/commits{/sha}","comments_url":"https://api.github.com/repos/slimphp/Twig-View/comments{/number}","issue_comment_url":"https://api.github.com/repos/slimphp/Twig-View/issues/comments{/number}","contents_url":"https://api.github.com/repos/slimphp/Twig-View/contents/{+path}","compare_url":"https://api.github.com/repos/slimphp/Twig-View/compare/{base}...{head}","merges_url":"https://api.github.com/repos/slimphp/Twig-View/merges","archive_url":"https://api.github.com/repos/slimphp/Twig-View/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/slimphp/Twig-View/downloads","issues_url":"https://api.github.com/repos/slimphp/Twig-View/issues{/number}","pulls_url":"https://api.github.com/repos/slimphp/Twig-View/pulls{/number}","milestones_url":"https://api.github.com/repos/slimphp/Twig-View/milestones{/number}","notifications_url":"https://api.github.com/repos/slimphp/Twig-View/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/slimphp/Twig-View/labels{/name}","releases_url":"https://api.github.com/repos/slimphp/Twig-View/releases{/id}","created_at":"2015-03-14T17:30:16Z","updated_at":"2015-05-08T09:29:35Z","pushed_at":"2015-04-20T22:45:04Z","git_url":"git://github.com/slimphp/Twig-View.git","ssh_url":"git@github.com:slimphp/Twig-View.git","clone_url":"https://github.com/slimphp/Twig-View.git","svn_url":"https://github.com/slimphp/Twig-View","homepage":null,"size":252,"stargazers_count":11,"watchers_count":11,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":4,"forks":6,"open_issues":4,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/slimphp/Twig-View/pulls/5"},"html":{"href":"https://github.com/slimphp/Twig-View/pull/5"},"issue":{"href":"https://api.github.com/repos/slimphp/Twig-View/issues/5"},"comments":{"href":"https://api.github.com/repos/slimphp/Twig-View/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/slimphp/Twig-View/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/slimphp/Twig-View/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/slimphp/Twig-View/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/slimphp/Twig-View/statuses/9a7baab545ed70607a28e7fe7fa15b6965a327e0"}}}}