Update Client.php

required parameters must be before optional parameters.