mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-05-03 20:56:21 +00:00
Add some TODO's, refactor some code.
This commit is contained in:
@@ -92,6 +92,7 @@ class BudgetFactory
|
||||
{
|
||||
/** @var Collection $collection */
|
||||
$collection = $this->user->budgets()->get();
|
||||
// TODO no longer need to loop like this
|
||||
/** @var Budget $budget */
|
||||
foreach ($collection as $budget) {
|
||||
if ($budget->name === $name) {
|
||||
|
||||
Reference in New Issue
Block a user