Remove TODO's, add some suppressors for code quality.

This commit is contained in:
James Cole
2018-07-25 19:43:02 +02:00
parent 02272f7db0
commit e8c9554dd6
35 changed files with 196 additions and 227 deletions

View File

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