Skip to content

Commit

Permalink
Merge pull request #2 from Textalk/required-parameter-after-default-p…
Browse files Browse the repository at this point in the history
…arameter

Fix default parameter before required parameter
  • Loading branch information
larsgust authored Dec 12, 2022
2 parents 8d3544a + 35e47c5 commit 6f326d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/CTServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public function initialize_recurring($payment_data) {
* @param array $products (OPTIONAL) A structure containing detailed information about the purchase. See the API docs for more information.
* @return Resource|Collection|APIProblem
*/
public function debit_recurring($amount = null, $currency, $payment_account, $reference = null, $language = null, $description = null, $customer = array(), $products = array()) {
public function debit_recurring($amount, $currency, $payment_account, $reference = null, $language = null, $description = null, $customer = array(), $products = array()) {
$data = array(
"currency" => $currency,
"method" => "RECURRING",
Expand Down

0 comments on commit 6f326d6

Please sign in to comment.