Skip to content

Commit

Permalink
Fix "The method parameter $payment_id is never used".
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Mar 26, 2024
1 parent 5389d07 commit a86f53e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -643,12 +643,12 @@ public function process_purchase( $purchase_data ) {
* Get payment transaction ID
*
* @link https://github.com/easydigitaldownloads/Easy-Digital-Downloads/blob/2.3/includes/payments/functions.php#L1378-L1398
*
* @param string $payment_id Payment ID.
*
* @return null
*/
public function get_payment_transaction_id( $payment_id ) {
return null;
$payment_id = null;

return $payment_id;
}
}

0 comments on commit a86f53e

Please sign in to comment.