mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Add some TODO's, refactor some code.
This commit is contained in:
@@ -128,6 +128,8 @@ class BillRepository implements BillRepositoryInterface
|
||||
{
|
||||
$bills = $this->user->bills()->get(['bills.*']);
|
||||
|
||||
// TODO no longer need to loop like this
|
||||
|
||||
/** @var Bill $bill */
|
||||
foreach ($bills as $bill) {
|
||||
if ($bill->name === $name) {
|
||||
|
Reference in New Issue
Block a user