Remove reference to a method no longer used.

This commit is contained in:
James Cole
2022-01-29 14:11:12 +01:00
parent acb2a8697a
commit 003d8ba02a
104 changed files with 219 additions and 256 deletions

View File

@@ -110,7 +110,7 @@ class DoubleController extends Controller
array_multisort($amounts, SORT_ASC, $result);
try {
$result = prefixView('reports.double.partials.avg-expenses', compact('result'))->render();
$result = view('reports.double.partials.avg-expenses', compact('result'))->render();
} catch (Throwable $e) { // @phpstan-ignore-line
Log::debug(sprintf('Could not render reports.partials.budget-period: %s', $e->getMessage()));
@@ -162,7 +162,7 @@ class DoubleController extends Controller
array_multisort($amounts, SORT_DESC, $result);
try {
$result = prefixView('reports.double.partials.avg-income', compact('result'))->render();
$result = view('reports.double.partials.avg-income', compact('result'))->render();
} catch (Throwable $e) { // @phpstan-ignore-line
Log::debug(sprintf('Could not render reports.partials.budget-period: %s', $e->getMessage()));
@@ -288,7 +288,7 @@ class DoubleController extends Controller
}
}
return prefixView('reports.double.partials.accounts', compact('sums', 'report'));
return view('reports.double.partials.accounts', compact('sums', 'report'));
}
/**
@@ -413,7 +413,7 @@ class DoubleController extends Controller
}
}
return prefixView('reports.double.partials.accounts-per-asset', compact('sums', 'report'));
return view('reports.double.partials.accounts-per-asset', compact('sums', 'report'));
}
/**
@@ -456,7 +456,7 @@ class DoubleController extends Controller
array_multisort($amounts, SORT_ASC, $result);
try {
$result = prefixView('reports.double.partials.top-expenses', compact('result'))->render();
$result = view('reports.double.partials.top-expenses', compact('result'))->render();
} catch (Throwable $e) { // @phpstan-ignore-line
Log::debug(sprintf('Could not render reports.partials.budget-period: %s', $e->getMessage()));
@@ -506,7 +506,7 @@ class DoubleController extends Controller
array_multisort($amounts, SORT_DESC, $result);
try {
$result = prefixView('reports.double.partials.top-income', compact('result'))->render();
$result = view('reports.double.partials.top-income', compact('result'))->render();
} catch (Throwable $e) { // @phpstan-ignore-line
Log::debug(sprintf('Could not render reports.partials.budget-period: %s', $e->getMessage()));