Skip to content

Commit

Permalink
Fix duplicate var name.
Browse files Browse the repository at this point in the history
(cherry picked from commit 33a7bdc)
  • Loading branch information
richardhj committed Apr 23, 2018
1 parent a6f5307 commit 1bbcfdc
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 1bbcfdc

Please sign in to comment.