mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Code cleanup.
This commit is contained in:
@@ -61,8 +61,6 @@ class BoxController extends Controller
|
||||
$opsRepository = app(OperationsRepositoryInterface::class);
|
||||
/** @var AvailableBudgetRepositoryInterface $abRepository */
|
||||
$abRepository = app(AvailableBudgetRepositoryInterface::class);
|
||||
|
||||
|
||||
/** @var Carbon $start */
|
||||
$start = session('start', Carbon::now()->startOfMonth());
|
||||
/** @var Carbon $end */
|
||||
@@ -127,8 +125,6 @@ class BoxController extends Controller
|
||||
|
||||
return response()->json($return);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Current total balance.
|
||||
*
|
||||
@@ -209,8 +205,6 @@ class BoxController extends Controller
|
||||
'size' => count($sums),
|
||||
'preferred' => $currency->id,
|
||||
];
|
||||
|
||||
|
||||
$cache->store($response);
|
||||
|
||||
return response()->json($response);
|
||||
@@ -256,8 +250,6 @@ class BoxController extends Controller
|
||||
);
|
||||
|
||||
$netWorthSet = $netWorthHelper->getNetWorthByCurrency($filtered, $date);
|
||||
|
||||
|
||||
$return = [];
|
||||
foreach ($netWorthSet as $data) {
|
||||
/** @var TransactionCurrency $currency */
|
||||
|
Reference in New Issue
Block a user