fix phpstan warnings

This commit is contained in:
James Cole
2025-01-03 15:53:10 +01:00
parent d95f3ca59f
commit fe4d139817
173 changed files with 374 additions and 360 deletions

View File

@@ -721,7 +721,7 @@ class BudgetRepository implements BudgetRepositoryInterface
/**
* @throws FireflyException
*
* @SuppressWarnings(PHPMD.NPathComplexity)
* @SuppressWarnings("PHPMD.NPathComplexity")
*/
public function store(array $data): Budget
{

View File

@@ -203,7 +203,7 @@ class OperationsRepository implements OperationsRepositoryInterface
}
/**
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
* @SuppressWarnings("PHPMD.ExcessiveParameterList")
*/
public function sumExpenses(
Carbon $start,

View File

@@ -57,7 +57,7 @@ interface OperationsRepositoryInterface
public function setUser(null|Authenticatable|User $user): void;
/**
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
* @SuppressWarnings("PHPMD.ExcessiveParameterList")
*/
public function sumExpenses(
Carbon $start,