From efdd6460fbf2e9ce401bd16f5e4c1d2e0e905f67 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 2 May 2015 09:08:41 +0200 Subject: [PATCH] Fixed injection. --- app/Http/Controllers/GoogleChartController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/GoogleChartController.php b/app/Http/Controllers/GoogleChartController.php index 1ae0c23867..b377231d67 100644 --- a/app/Http/Controllers/GoogleChartController.php +++ b/app/Http/Controllers/GoogleChartController.php @@ -359,7 +359,7 @@ class GoogleChartController extends Controller * * @return \Symfony\Component\HttpFoundation\Response */ - public function budgetsAndSpending(Budget $budget, $year = 0, GChart $chart, BudgetRepositoryInterface $repository) + public function budgetsAndSpending(GChart $chart, BudgetRepositoryInterface $repository, Budget $budget, $year = 0) { $chart->addColumn('Month', 'date'); $chart->addColumn('Budgeted', 'number');