I'm working on updating a Drupal module that uses JSON-RPC v2 in PHP and I'm trying to determine the valid types for the response object result.
"This member is REQUIRED on success.
This member MUST NOT exist if there was an error invoking the method.
The value of this member is determined by the method invoked on the Server."
The function that parses the result expects it to be of type object|array|string|int|null. Should bool also be on this list? I'm trying to determine whether the type hint is incorrect (because it is missing bool), or if bool is not a permitted value for some reason.
Many thanks!