Skip to content

Commit

Permalink
Update PayflowPaymentForm.php
Browse files Browse the repository at this point in the history
Add support for recent modification to crafts BasePaymentForm.php as found in craftcms/commerce@07bc9d0. This change added type void to populateFromPaymentSource
  • Loading branch information
mmoss128 authored Nov 14, 2022
1 parent 9a9ed4e commit 5497dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/PayflowPaymentForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class PayflowPaymentForm extends CreditCardPaymentForm
{
public mixed $cardReference = null;

public function populateFromPaymentSource(PaymentSource $paymentSource)
public function populateFromPaymentSource(PaymentSource $paymentSource) : void
{
$this->cardReference = $paymentSource->token;
}
Expand Down

0 comments on commit 5497dac

Please sign in to comment.