mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 14:12:15 +00:00
remove old inspections
This commit is contained in:
@@ -145,7 +145,6 @@ class NoBudgetRepository implements NoBudgetRepositoryInterface
|
||||
return $return;
|
||||
}
|
||||
|
||||
/** @noinspection MoreThanThreeArgumentsInspection */
|
||||
/**
|
||||
* TODO this method does not include multi currency. It just counts.
|
||||
* TODO this probably also applies to the other "sumExpenses" methods.
|
||||
|
||||
@@ -58,7 +58,6 @@ interface NoBudgetRepositoryInterface
|
||||
*/
|
||||
public function spentInPeriodWoBudgetMc(Collection $accounts, Carbon $start, Carbon $end): array;
|
||||
|
||||
/** @noinspection MoreThanThreeArgumentsInspection */
|
||||
/**
|
||||
* @param Carbon $start
|
||||
* @param Carbon $end
|
||||
|
||||
@@ -211,7 +211,6 @@ class OperationsRepository implements OperationsRepositoryInterface
|
||||
return $repos->getActiveBudgets();
|
||||
}
|
||||
|
||||
/** @noinspection MoreThanThreeArgumentsInspection */
|
||||
|
||||
/**
|
||||
* @param User $user
|
||||
|
||||
@@ -74,7 +74,6 @@ interface OperationsRepositoryInterface
|
||||
*/
|
||||
public function setUser(User $user): void;
|
||||
|
||||
/** @noinspection MoreThanThreeArgumentsInspection */
|
||||
|
||||
/**
|
||||
* Return multi-currency spent information.
|
||||
|
||||
@@ -70,7 +70,6 @@ class JournalCLIRepository implements JournalCLIRepositoryInterface
|
||||
if (null !== $budget) {
|
||||
return $budget->id;
|
||||
}
|
||||
/** @noinspection NullPointerExceptionInspection */
|
||||
$budget = $journal->transactions()->first()->budgets()->first();
|
||||
if (null !== $budget) {
|
||||
return $budget->id;
|
||||
@@ -92,7 +91,6 @@ class JournalCLIRepository implements JournalCLIRepositoryInterface
|
||||
if (null !== $category) {
|
||||
return $category->id;
|
||||
}
|
||||
/** @noinspection NullPointerExceptionInspection */
|
||||
$category = $journal->transactions()->first()->categories()->first();
|
||||
if (null !== $category) {
|
||||
return $category->id;
|
||||
|
||||
Reference in New Issue
Block a user