mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-17 15:18:05 +00:00
Changed a lot of parameters.
This commit is contained in:
@@ -132,7 +132,7 @@ class ReportHelper implements ReportHelperInterface
|
||||
*
|
||||
* @return Expense
|
||||
*/
|
||||
public function getExpenseReport($start, $end, Collection $accounts)
|
||||
public function getExpenseReport(Carbon $start, Carbon $end, Collection $accounts)
|
||||
{
|
||||
$object = new Expense;
|
||||
$set = $this->query->expense($accounts, $start, $end);
|
||||
@@ -154,7 +154,7 @@ class ReportHelper implements ReportHelperInterface
|
||||
*
|
||||
* @return Income
|
||||
*/
|
||||
public function getIncomeReport($start, $end, Collection $accounts)
|
||||
public function getIncomeReport(Carbon $start, Carbon $end, Collection $accounts)
|
||||
{
|
||||
$object = new Income;
|
||||
$set = $this->query->income($accounts, $start, $end);
|
||||
|
||||
Reference in New Issue
Block a user