mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-20 00:20:03 +00:00
Various code cleanup.
This commit is contained in:
@@ -71,7 +71,7 @@ class CurrencyMapper
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
if (!isset($data['code']) || null === $data['code']) {
|
||||
if (!isset($data['code'])) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@@ -212,7 +212,7 @@ class ImportableConverter
|
||||
|
||||
return [
|
||||
'type' => $transactionType,
|
||||
'date' => $this->convertDateValue($importable->date) ?? Carbon::create()->format('Y-m-d'),
|
||||
'date' => $this->convertDateValue($importable->date) ?? Carbon::now()->format('Y-m-d'),
|
||||
'tags' => $importable->tags,
|
||||
'user' => $this->importJob->user_id,
|
||||
'notes' => $importable->note,
|
||||
|
||||
Reference in New Issue
Block a user