loduis / teamwork.com-project-management

PHP API for Teamwork.com
https://developer.teamwork.com/
MIT License
70 stars 59 forks source link

Fix camelizeObject error #43

Closed Biegalski-LLC closed 6 years ago

Biegalski-LLC commented 6 years ago

Constantly getting "Uncaught TypeError: Argument 1 passed to TeamWorkPm\Response\JSON::camelizeObject() must be of the type array, object given".

Even when testing by using the provided example scripts.

Removing the 'array' type hint from the camelizeObject method fixes this error.