From 2ce7d7f6515135200bd1793a6b254281de8a9be5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Duli=C3=A7i?= Date: Thu, 21 Jul 2022 02:15:15 +0300 Subject: [PATCH] formatting --- app/Traits/Transactions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Traits/Transactions.php b/app/Traits/Transactions.php index 4f2b33853..0758a2826 100644 --- a/app/Traits/Transactions.php +++ b/app/Traits/Transactions.php @@ -75,12 +75,12 @@ trait Transactions public function addIncomeType(string $new_type): void { - $this->addTransactionType($new_type, Transaction::INCOME_TYPE); + $this->addTransactionType($new_type, 'income'); } public function addExpenseType(string $new_type): void { - $this->addTransactionType($new_type, Transaction::EXPENSE_TYPE); + $this->addTransactionType($new_type, 'expense'); } public function addTransactionType(string $new_type, string $index): void