KnpLabs/php-github-api — pull request #40 by njam (2013-03-31 19:29:52+00:00)
Title: Force "object"-form when posting json

When POSTing with no/empty content, we should send `{}` instead of `[]`, otherwise Github doesn't like it:
```
Github\Exception\ErrorException (400): Body should be a JSON Hash
```