From 17a147d890da90327ee9b90e52f2bd07cf7dba86 Mon Sep 17 00:00:00 2001 From: xujiongze <31494901+xujiongze@users.noreply.github.com> Date: Wed, 15 May 2024 16:06:46 +0200 Subject: [PATCH] Update BraintreePaymentResponse.php Added the question mark by mistake --- src/Messages/BraintreePaymentResponse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Messages/BraintreePaymentResponse.php b/src/Messages/BraintreePaymentResponse.php index 1f261de..2503446 100644 --- a/src/Messages/BraintreePaymentResponse.php +++ b/src/Messages/BraintreePaymentResponse.php @@ -74,7 +74,7 @@ public function getAmountPaid(): ?float return $this->transactionType->signum() * $this->amount; } - public function getTransactionAmount(): ?float + public function getTransactionAmount(): float { return $this->transactionType->signum() * $this->amount; }