Fix form inconsistencies.

This commit is contained in:
James Cole
2019-08-16 19:08:20 +02:00
parent 02db333d46
commit a32df0066e
9 changed files with 9 additions and 594 deletions

View File

@@ -59,7 +59,6 @@ class BalanceController extends Controller
$helper = app(BalanceReportHelperInterface::class);
$report = $helper->getBalanceReport($accounts, $start, $end);
// TODO no budget.
// TODO sum over account.
// try {
$result = view('reports.partials.balance', compact('report'))->render();
// @codeCoverageIgnoreStart

View File

@@ -154,7 +154,6 @@ class CategoryController extends Controller
*
* @return mixed|string
*
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
*/
public function operations(Collection $accounts, Carbon $start, Carbon $end)
{

View File

@@ -36,7 +36,6 @@ use Throwable;
/**
* Class ExpenseController
*
* @SuppressWarnings(PHPMD.ExcessiveClassComplexity)
*/
class ExpenseController extends Controller
{
@@ -128,8 +127,6 @@ class ExpenseController extends Controller
* @param Carbon $end
*
* @return string
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
*/
public function category(Collection $accounts, Collection $expense, Carbon $start, Carbon $end): string
{