Skip to content

Commit

Permalink
Update BraintreePaymentResponse.php
Browse files Browse the repository at this point in the history
Added the question mark by mistake
  • Loading branch information
xujiongze authored May 15, 2024
1 parent 016cda3 commit 17a147d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Messages/BraintreePaymentResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 17a147d

Please sign in to comment.