Do some code cleanup.

This commit is contained in:
James Cole
2020-03-15 08:16:16 +01:00
parent f63e51fea2
commit 6967bb003e
43 changed files with 139 additions and 209 deletions

View File

@@ -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
{