mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-04 20:11:54 +00:00
Various code cleanup and fixed alignments.
This commit is contained in:
@@ -40,16 +40,16 @@ class ExportRequest extends FormRequest
|
||||
|
||||
public function getAll(): array
|
||||
{
|
||||
$result = [
|
||||
$result = [
|
||||
'start' => $this->getCarbonDate('start') ?? today(config('app.timezone'))->subYear(),
|
||||
'end' => $this->getCarbonDate('end') ?? today(config('app.timezone')),
|
||||
'type' => $this->convertString('type'),
|
||||
];
|
||||
$parts = explode(',', $this->convertString('accounts'));
|
||||
$repository = app(AccountRepositoryInterface::class);
|
||||
$parts = explode(',', $this->convertString('accounts'));
|
||||
$repository = app(AccountRepositoryInterface::class);
|
||||
$repository->setUser(auth()->user());
|
||||
|
||||
$accounts = new Collection();
|
||||
$accounts = new Collection();
|
||||
foreach ($parts as $part) {
|
||||
$accountId = (int)$part;
|
||||
if (0 !== $accountId) {
|
||||
|
||||
Reference in New Issue
Block a user