mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
Do some code cleanup.
This commit is contained in:
@@ -76,21 +76,12 @@ class ExportData extends Command
|
||||
/** @var User */
|
||||
private $user;
|
||||
|
||||
/**
|
||||
* Create a new command instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute the console command.
|
||||
*
|
||||
* @return int
|
||||
* @throws FireflyException
|
||||
* @throws \League\Csv\CannotInsertRecord
|
||||
*/
|
||||
public function handle(): int
|
||||
{
|
||||
@@ -206,6 +197,7 @@ class ExportData extends Command
|
||||
*
|
||||
* @return Carbon
|
||||
* @throws FireflyException
|
||||
* @throws \Exception
|
||||
*/
|
||||
private function getDateParameter(string $field): Carbon
|
||||
{
|
||||
|
Reference in New Issue
Block a user