Update Bitbucket webhooks to handle issues/commit/comments

This commit is contained in:
Frederic Guillot
2015-06-21 12:19:06 -04:00
parent 98fd34bfe3
commit d7a8160c2b
22 changed files with 1928 additions and 178 deletions

View File

@@ -83,7 +83,7 @@ class Request
*/
public function getJson()
{
return json_decode($this->getBody(), true);
return json_decode($this->getBody(), true) ?: array();
}
/**