I am trying to implement a SimplePublicObject in PHP but the docblock syntax describes a property type name "map" that is not a valid PHP type. Here is an example from the SimplePublicObject that CRM Deals implements:
The property type of map appears to be a simple array, but I would expect to pass in an associative array with key/value pairs. I suspect that the OpenAPI Generator that builds the PHP docblock is not configured correctly.
Could someone point out the correct native PHP variable type for the setProperties() method?
Can the Hubspot API team review the OpenAPI Generator output and see if there is a way to output the "map" param type as an array type instead? For example:
It looks like the param map[string,string] is trying to indicate that I should pass in an associative array where both the keys and values should be variable typed as strings. I will treat both input and outputs with this docblock designation as PHP native associative arrays and watch for any error messages.
It looks like the param map[string,string] is trying to indicate that I should pass in an associative array where both the keys and values should be variable typed as strings. I will treat both input and outputs with this docblock designation as PHP native associative arrays and watch for any error messages.