mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 04:03:26 +00:00
Various code cleanup.
This commit is contained in:
@@ -31,7 +31,6 @@ use Illuminate\Support\Collection;
|
||||
*/
|
||||
class MonthReportGenerator implements ReportGeneratorInterface
|
||||
{
|
||||
|
||||
/** @var Collection */
|
||||
private $accounts;
|
||||
/** @var Carbon */
|
||||
@@ -43,6 +42,7 @@ class MonthReportGenerator implements ReportGeneratorInterface
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*
|
||||
* @throws \Throwable
|
||||
*/
|
||||
public function generate(): string
|
||||
|
@@ -32,7 +32,8 @@ class MultiYearReportGenerator extends MonthReportGenerator
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
protected function preferredPeriod(): string {
|
||||
protected function preferredPeriod(): string
|
||||
{
|
||||
return 'year';
|
||||
}
|
||||
}
|
||||
|
@@ -32,7 +32,8 @@ class YearReportGenerator extends MonthReportGenerator
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
protected function preferredPeriod(): string {
|
||||
protected function preferredPeriod(): string
|
||||
{
|
||||
return 'month';
|
||||
}
|
||||
}
|
||||
|
@@ -41,6 +41,7 @@ class MonthReportGenerator implements ReportGeneratorInterface
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*
|
||||
* @throws \Throwable
|
||||
*/
|
||||
public function generate(): string
|
||||
|
@@ -40,6 +40,7 @@ class MultiYearReportGenerator implements ReportGeneratorInterface
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*
|
||||
* @throws \Throwable
|
||||
*/
|
||||
public function generate(): string
|
||||
|
@@ -40,6 +40,7 @@ class YearReportGenerator implements ReportGeneratorInterface
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*
|
||||
* @throws \Throwable
|
||||
*/
|
||||
public function generate(): string
|
||||
|
Reference in New Issue
Block a user