Code cleanup.

This commit is contained in:
James Cole
2016-11-18 20:06:08 +01:00
parent 0c072c7d51
commit 73f0cc705b
41 changed files with 160 additions and 24 deletions

View File

@@ -118,6 +118,7 @@ class MonthReportGenerator implements ReportGeneratorInterface
*/
public function setCategories(Collection $categories): ReportGeneratorInterface
{
return $this;
}
/**

View File

@@ -211,6 +211,9 @@ class MonthReportGenerator extends Support implements ReportGeneratorInterface
}
/**
* @return array
*/
private function getAverageIncome(): array
{
$expenses = $this->getIncome();

View File

@@ -95,5 +95,6 @@ class MonthReportGenerator implements ReportGeneratorInterface
*/
public function setCategories(Collection $categories): ReportGeneratorInterface
{
return $this;
}
}

View File

@@ -67,6 +67,7 @@ class MultiYearReportGenerator implements ReportGeneratorInterface
*/
public function setCategories(Collection $categories): ReportGeneratorInterface
{
return $this;
}
/**

View File

@@ -67,6 +67,7 @@ class YearReportGenerator implements ReportGeneratorInterface
*/
public function setCategories(Collection $categories): ReportGeneratorInterface
{
return $this;
}
/**