remove old inspections

This commit is contained in:
James Cole
2022-10-30 12:12:35 +01:00
parent 6b64a39182
commit 914dc8596b
34 changed files with 1 additions and 61 deletions

View File

@@ -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.

View File

@@ -58,7 +58,6 @@ interface NoBudgetRepositoryInterface
*/
public function spentInPeriodWoBudgetMc(Collection $accounts, Carbon $start, Carbon $end): array;
/** @noinspection MoreThanThreeArgumentsInspection */
/**
* @param Carbon $start
* @param Carbon $end

View File

@@ -211,7 +211,6 @@ class OperationsRepository implements OperationsRepositoryInterface
return $repos->getActiveBudgets();
}
/** @noinspection MoreThanThreeArgumentsInspection */
/**
* @param User $user

View File

@@ -74,7 +74,6 @@ interface OperationsRepositoryInterface
*/
public function setUser(User $user): void;
/** @noinspection MoreThanThreeArgumentsInspection */
/**
* Return multi-currency spent information.

View File

@@ -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;