Small code cleanup [skip ci]

This commit is contained in:
James Cole
2018-07-15 19:17:26 +02:00
parent 73e32ecdcb
commit 1502aa3b20
4 changed files with 32 additions and 15 deletions

View File

@@ -43,6 +43,8 @@ use Illuminate\Support\Collection;
* Separate controller because many helper functions are shared.
*
* Class BudgetReportController
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*/
class BudgetReportController extends Controller
{
@@ -76,6 +78,8 @@ class BudgetReportController extends Controller
* @param string $others
*
* @return JsonResponse
*
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
*/
public function accountExpense(Collection $accounts, Collection $budgets, Carbon $start, Carbon $end, string $others): JsonResponse
{
@@ -101,6 +105,8 @@ class BudgetReportController extends Controller
* @param string $others
*
* @return JsonResponse
*
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
*/
public function budgetExpense(Collection $accounts, Collection $budgets, Carbon $start, Carbon $end, string $others): JsonResponse
{