Skip to content

Commit 6f326d6

Browse files
authored
Merge pull request #2 from Textalk/required-parameter-after-default-parameter
Fix default parameter before required parameter
2 parents 8d3544a + 35e47c5 commit 6f326d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/CTServer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public function initialize_recurring($payment_data) {
180180
* @param array $products (OPTIONAL) A structure containing detailed information about the purchase. See the API docs for more information.
181181
* @return Resource|Collection|APIProblem
182182
*/
183-
public function debit_recurring($amount = null, $currency, $payment_account, $reference = null, $language = null, $description = null, $customer = array(), $products = array()) {
183+
public function debit_recurring($amount, $currency, $payment_account, $reference = null, $language = null, $description = null, $customer = array(), $products = array()) {
184184
$data = array(
185185
"currency" => $currency,
186186
"method" => "RECURRING",

0 commit comments

Comments
 (0)