mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-15 19:09:50 +00:00
Remove TODO's, add some suppressors for code quality.
This commit is contained in:
@@ -37,6 +37,10 @@ use Navigation;
|
||||
|
||||
/**
|
||||
* Class CategoryRepository.
|
||||
*
|
||||
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
|
||||
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
|
||||
* @SuppressWarnings(PHPMD.ExcessiveClassComplexity)
|
||||
*/
|
||||
class CategoryRepository implements CategoryRepositoryInterface
|
||||
{
|
||||
@@ -114,6 +118,7 @@ class CategoryRepository implements CategoryRepositoryInterface
|
||||
* @param Category $category
|
||||
*
|
||||
* @return Carbon|null
|
||||
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
|
||||
*/
|
||||
public function firstUseDate(Category $category): ?Carbon
|
||||
{
|
||||
@@ -172,6 +177,8 @@ class CategoryRepository implements CategoryRepositoryInterface
|
||||
* @param Collection $accounts
|
||||
*
|
||||
* @return Carbon|null
|
||||
*
|
||||
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
|
||||
*/
|
||||
public function lastUseDate(Category $category, Collection $accounts): ?Carbon
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user