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

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