Skip to content

Commit 4b6dbd3

Browse files
Stick to the interface.
1 parent 041f7c8 commit 4b6dbd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/base/Gateway.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ public function purchase(Transaction $transaction, BasePaymentForm $form): Reque
363363
/**
364364
* @inheritdoc
365365
*/
366-
public function refund(Transaction $transaction, float $amount): RequestResponseInterface
366+
public function refund(Transaction $transaction): RequestResponseInterface
367367
{
368368
if (!$this->supportsRefund()) {
369369
throw new NotSupportedException(Craft::t('commerce', 'Refunding is not supported by this gateway'));

0 commit comments

Comments
 (0)