connect-api-specification
connect-api-specification copied to clipboard
PHP SDK Contains Invalid DocBlocks Causing IDE-Errors
Hey all, the V1 api classes in the PHP SDK all have the method list{model}ithHttpInfo, whose docblock contains the following return declaration:
/**
* @return Array of \SquareConnect\Model\V1Item[], HTTP status code, HTTP response headers (array of strings)
*/
This is invalid syntax and is telling static-analysis tools/PHPStorm that the return type of this method is SquareConnect\Api\Array, causing all sorts of issues. Can these docblocks be updated to the valid form please? Example below:
/**
* @return array Array of \SquareConnect\Model\V1Item[], HTTP status code, HTTP response headers (array of strings)
*/