/**
  * @param            $reportType
  * @param Carbon     $start
  * @param Carbon     $end
  * @param Collection $accounts
  *
  * @return View
  */
 private function defaultYear(string $reportType, Carbon $start, Carbon $end, Collection $accounts)
 {
     $incomeTopLength = 8;
     $expenseTopLength = 8;
     $accountReport = $this->accountHelper->getAccountReport($start, $end, $accounts);
     $incomes = $this->helper->getIncomeReport($start, $end, $accounts);
     $expenses = $this->helper->getExpenseReport($start, $end, $accounts);
     $tags = $this->helper->tagReport($start, $end, $accounts);
     $budgets = $this->budgetHelper->budgetYearOverview($start, $end, $accounts);
     Session::flash('gaEventCategory', 'report');
     Session::flash('gaEventAction', 'year');
     Session::flash('gaEventLabel', $start->format('Y'));
     // and some id's, joined:
     $accountIds = [];
     /** @var Account $account */
     foreach ($accounts as $account) {
         $accountIds[] = $account->id;
     }
     $accountIds = join(',', $accountIds);
     return view('reports.default.year', compact('start', 'accountReport', 'incomes', 'reportType', 'accountIds', 'end', 'expenses', 'incomeTopLength', 'expenseTopLength', 'tags', 'budgets'));
 }