Parameters are ordered by name, but optional parameters not present in request are not handled and the parameters are shifted.
With the function :
updateUser($password = null, $email = null, $receiveEmail = null)
request :
"params":{"receiveEmail":false, "email":"test@domain.net"}
bad call :
updateUser("test@domain.net", false)
The server ordered well the parameters, but miss the first optional one and call the function with the list receive.
Anyway, thanks for this great bundle,
Vincent.
Parameters are ordered by name, but optional parameters not present in request are not handled and the parameters are shifted.
With the function :
request :
bad call :
The server ordered well the parameters, but miss the first optional one and call the function with the list receive.
Anyway, thanks for this great bundle,
Vincent.