From b4d02130fb7fa941c83f89f429eb42153de08e0f Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Mon, 20 Mar 2023 13:32:51 +0200 Subject: [PATCH] typo --- application/Espo/Core/Field/Currency.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/Espo/Core/Field/Currency.php b/application/Espo/Core/Field/Currency.php index 1d06c552ec..1439e4d80d 100644 --- a/application/Espo/Core/Field/Currency.php +++ b/application/Espo/Core/Field/Currency.php @@ -117,7 +117,7 @@ class Currency public function subtract(self $value): self { if ($this->getCode() !== $value->getCode()) { - throw new RuntimeException("Can't substract a currency value with a different code."); + throw new RuntimeException("Can't subtract a currency value with a different code."); } $amount = CalculatorUtil::subtract(