Update Bitbucket webhooks to handle issues/commit/comments
This commit is contained in:
@@ -83,7 +83,7 @@ class Request
|
||||
*/
|
||||
public function getJson()
|
||||
{
|
||||
return json_decode($this->getBody(), true);
|
||||
return json_decode($this->getBody(), true) ?: array();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user