zendesk/zendesk_api_client_php — pull request #30 by mikealmond (2014-08-06 14:32:44+00:00)
Title: Simplify the ternary operator in Http:send() and some code cleanup

The ternary to set the `$json` variable was pretty nested. A simple `if` would make it more readable.

This also includes some code cleanup in improve readability.