Skip to content

Commit

Permalink
Fix duplicate var name.
Browse files Browse the repository at this point in the history
  • Loading branch information
richardhj committed Apr 23, 2018
1 parent ac3a6e7 commit 33a7bdc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Util/PaymentMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ public function __construct(IsotopePayment $payment)
}

/**
* @param IsotopePayment $payment
* @param IsotopePayment $paymentMethod
*
* @param string $redirectUrl
*
* @return PaymentMethod
*/
public static function createForPaymentMethod(IsotopePayment $payment, string $redirectUrl): PaymentMethod
public static function createForPaymentMethod(IsotopePayment $paymentMethod, string $redirectUrl): PaymentMethod
{
$payment = new self($payment);
$payment = new self($paymentMethod);

$payment->redirect_url = $redirectUrl;

Expand Down

0 comments on commit 33a7bdc

Please sign in to comment.