TypeError: Argument 1 passed to JoliCode\Slack\Api\Model\ObjsMessageAttachmentsItem::setTs() must be of the type string or null, integer given, called in /home/dalexandre/Dev/slack-php-api/generated/Normalizer/ObjsMessageAttachmentsItemNormalizer.php on line 108
That's hard to reproduce but sometime the Slack API will return a valid integer, so we can't rely on PHP strict type for those "ts" fields.
This PR fix this and also fix the patch format. cc @pyrech
I got this error while testing #23:
That's hard to reproduce but sometime the Slack API will return a valid integer, so we can't rely on PHP strict type for those "ts" fields.
This PR fix this and also fix the patch format. cc @pyrech