mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-15 19:09:50 +00:00
Remove inspection, add TODO's, make code a bit simpler.
This commit is contained in:
@@ -279,7 +279,7 @@ class CategoryRepository implements CategoryRepositoryInterface
|
||||
return $this->user->categories()->find($categoryId);
|
||||
}
|
||||
|
||||
/** @noinspection MoreThanThreeArgumentsInspection */
|
||||
|
||||
|
||||
/**
|
||||
* Find a category.
|
||||
@@ -317,7 +317,7 @@ class CategoryRepository implements CategoryRepositoryInterface
|
||||
return $factory->findOrCreate(null, $data['name']);
|
||||
}
|
||||
|
||||
/** @noinspection MoreThanThreeArgumentsInspection */
|
||||
|
||||
|
||||
/**
|
||||
* @param Category $category
|
||||
@@ -389,7 +389,7 @@ class CategoryRepository implements CategoryRepositoryInterface
|
||||
return $lastJournalDate;
|
||||
}
|
||||
|
||||
/** @noinspection MoreThanThreeArgumentsInspection */
|
||||
|
||||
|
||||
/**
|
||||
* @param Collection $categories
|
||||
@@ -433,7 +433,7 @@ class CategoryRepository implements CategoryRepositoryInterface
|
||||
return $data;
|
||||
}
|
||||
|
||||
/** @noinspection MoreThanThreeArgumentsInspection */
|
||||
|
||||
|
||||
/**
|
||||
* @param Collection $accounts
|
||||
@@ -472,7 +472,7 @@ class CategoryRepository implements CategoryRepositoryInterface
|
||||
return $result;
|
||||
}
|
||||
|
||||
/** @noinspection MoreThanThreeArgumentsInspection */
|
||||
|
||||
|
||||
/**
|
||||
* @param Collection $categories
|
||||
|
||||
@@ -124,7 +124,7 @@ interface CategoryRepositoryInterface
|
||||
*/
|
||||
public function getCategories(): Collection;
|
||||
|
||||
/** @noinspection MoreThanThreeArgumentsInspection */
|
||||
|
||||
|
||||
/**
|
||||
* Return most recent transaction(journal) date or null when never used before.
|
||||
@@ -146,7 +146,7 @@ interface CategoryRepositoryInterface
|
||||
*/
|
||||
public function periodExpenses(Collection $categories, Collection $accounts, Carbon $start, Carbon $end): array;
|
||||
|
||||
/** @noinspection MoreThanThreeArgumentsInspection */
|
||||
|
||||
|
||||
/**
|
||||
* @param Collection $accounts
|
||||
@@ -176,7 +176,7 @@ interface CategoryRepositoryInterface
|
||||
*/
|
||||
public function periodIncomeNoCategory(Collection $accounts, Carbon $start, Carbon $end): array;
|
||||
|
||||
/** @noinspection MoreThanThreeArgumentsInspection */
|
||||
|
||||
|
||||
/**
|
||||
* @param string $query
|
||||
@@ -185,7 +185,7 @@ interface CategoryRepositoryInterface
|
||||
*/
|
||||
public function searchCategory(string $query): Collection;
|
||||
|
||||
/** @noinspection MoreThanThreeArgumentsInspection */
|
||||
|
||||
|
||||
/**
|
||||
* @param User $user
|
||||
|
||||
Reference in New Issue
Block a user