mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-21 21:20:04 +00:00
Fix phpstan issues.
This commit is contained in:
@@ -146,7 +146,7 @@ class OperationsRepository implements OperationsRepositoryInterface
|
||||
if (null !== $budgets && $budgets->count() > 0) {
|
||||
$collector->setBudgets($budgets);
|
||||
}
|
||||
if (null === $budgets || (null !== $budgets && 0 === $budgets->count())) {
|
||||
if (null === $budgets || 0 === $budgets->count()) {
|
||||
$collector->setBudgets($this->getBudgets());
|
||||
}
|
||||
$collector->withBudgetInformation()->withAccountInformation()->withCategoryInformation();
|
||||
|
||||
Reference in New Issue
Block a user