filestack / filestack-php

Official PHP SDK for Filestack - API and content management system that makes it easy to add powerful file uploading and transformation capabilities to any web or mobile application.
https://www.filestack.com
Apache License 2.0
56 stars 32 forks source link

FilestackClient->upload doesn't return neither Filestack\Filelink nor file content #29

Closed lukepolak closed 7 years ago

lukepolak commented 7 years ago

It runs same value as UploadProcessor->run (because it calls it and returns it's return value immediately), which is array with fields 'status' and 'json'. It seems PHPDoc is wrong, and so are examples in readme.

hueyl77 commented 7 years ago

hi Luke! Thanks for bringing this to our attention. Release https://github.com/filestack/filestack-php/tree/1.1.10 updated the code to return a Filelink object as it should. Sorry if this caused you any frustrations.