FreshBooks added the invoice.getPDF command, which returns binary PDF data instead of XML. I changed the library to handle the case when PDF data is sent from FreshBooks and will handle it accordingly.
Added PDF support.
Thanks for doing this. Can you please adjust the code to follow the same standard as the file. Example 4 spaces for indentation, curly braces on new line for if/else.
This should be "@return array|binary" to follow the docbloc standard:
Updated for style.
Alright, good to go. Let me know if there's any other tweaks that should be done.
Looks great! Thank you for doing this :)