Insightly/php — pull request #14 by applehat (2014-12-31 21:45:34+00:00)
Title: Fixes incompatibility with versions of PHP below 5.5

Replaced returns that reference array values from function calls with variable assignment, then reference.

Example:
return $this->getEvents(array("top" => 1))[0];

changes to:

$return = $this->getEvents(array("top" => 1));
return $return[0];