Code cleanup

This commit is contained in:
James Cole
2019-08-17 10:47:10 +02:00
parent 44823c6fec
commit 23479790fe
45 changed files with 38 additions and 177 deletions

View File

@@ -43,7 +43,7 @@ use Log;
*
* TODO autocomplete for transaction types.
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*
*/
class AutoCompleteController extends Controller
{

View File

@@ -52,8 +52,6 @@ class BoxController extends Controller
* @param BudgetRepositoryInterface $repository
*
* @return JsonResponse
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
*/
public function available(BudgetRepositoryInterface $repository): JsonResponse
{
@@ -110,8 +108,6 @@ class BoxController extends Controller
* @param CurrencyRepositoryInterface $repository
*
* @return JsonResponse
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
*/
public function balance(CurrencyRepositoryInterface $repository): JsonResponse
{
@@ -237,8 +233,6 @@ class BoxController extends Controller
* Total user net worth.
*
* @return JsonResponse
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
*/
public function netWorth(): JsonResponse
{

View File

@@ -63,11 +63,9 @@ class RecurrenceController extends Controller
*
* @param Request $request
*
* @throws FireflyException
* @return JsonResponse
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
* @SuppressWarnings(PHPMD.NPathComplexity)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
*
* @throws FireflyException
*/
public function events(Request $request): JsonResponse
{