shopee-php
shopee-php copied to clipboard
add (int) in getDefaultParameters()
To get the default parameter, int is required. If not : partner_id and shopid will be strings. That will cause an error
Hi @rmdhfz
Thank you for pointing this out.
To avoid property type error. Maybe we should prevent users from setting wrong parameters. When the parameter passed in through the constructor of Client is not a int, throw an exception.
You are welcome. Yes, we should prevent users from setting wrong parameters.