Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Refactor method to original name #524
James Coleb575b87f77a1
diff --git a/app/Http/Controllers/Chart/CategoryController.php b/app/Http/Controllers/Chart/CategoryController.phpindex 5e8240e116..217d122bc8 100644--- a/app/Http/Controllers/Chart/CategoryController.php+++ b/app/Http/Controllers/Chart/CategoryController.php@@ -149,7 +149,7 @@ class CategoryController extends Controller}}- $chartData[strval(trans('firefly.no_category'))] = bcmul($repository->spentInPeriodWithoutCategoryCollector(new Collection, $start, $end), '-1');+ $chartData[strval(trans('firefly.no_category'))] = bcmul($repository->spentInPeriodWithoutCategory(new Collection, $start, $end), '-1');// sortarsort($chartData);diff --git a/app/Repositories/Category/CategoryRepository.php b/app/Repositories/Category/CategoryRepository.phpindex 637e31dccd..016b9a8f19 100644--- a/app/Repositories/Category/CategoryRepository.php+++ b/app/Repositories/Category/CategoryRepository.php@@ -410,7 +410,7 @@ class CategoryRepository implements CategoryRepositoryInterface** @return string*/- public function spentInPeriodWithoutCategoryCollector(Collection $accounts, Carbon $start, Carbon $end): string+ public function spentInPeriodWithoutCategory(Collection $accounts, Carbon $start, Carbon $end): string{/** @var JournalCollectorInterface $collector */$collector = app(JournalCollectorInterface::class, [$this->user]);diff --git a/app/Repositories/Category/CategoryRepositoryInterface.php b/app/Repositories/Category/CategoryRepositoryInterface.phpindex 3bc70a9459..1194fbbf74 100644--- a/app/Repositories/Category/CategoryRepositoryInterface.php+++ b/app/Repositories/Category/CategoryRepositoryInterface.php@@ -138,7 +138,7 @@ interface CategoryRepositoryInterface** @return string*/- public function spentInPeriodWithoutCategoryCollector(Collection $accounts, Carbon $start, Carbon $end): string;+ public function spentInPeriodWithoutCategory(Collection $accounts, Carbon $start, Carbon $end): string;/*** @param array $data