mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Optimise code.
This commit is contained in:
parent
348452ec7d
commit
054eecf541
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
/** @var \Illuminate\Database\Eloquent\Factory $factory */
|
/** @var \Illuminate\Database\Eloquent\Factory $factory */
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
/** @var \Illuminate\Database\Eloquent\Factory $factory */
|
/** @var \Illuminate\Database\Eloquent\Factory $factory */
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
/** @var \Illuminate\Database\Eloquent\Factory $factory */
|
/** @var \Illuminate\Database\Eloquent\Factory $factory */
|
||||||
|
|
||||||
|
@ -114,8 +114,8 @@ try {
|
|||||||
if (null !== $start && null !== $end) {
|
if (null !== $start && null !== $end) {
|
||||||
$title = trans(
|
$title = trans(
|
||||||
'firefly.between_dates_breadcrumb',
|
'firefly.between_dates_breadcrumb',
|
||||||
['start' => $start ? $start->formatLocalized((string) trans('config.month_and_day')) : '',
|
['start' =>$start->formatLocalized((string) trans('config.month_and_day')),
|
||||||
'end' => $end ? $end->formatLocalized((string) trans('config.month_and_day')) : '',]
|
'end' => $end->formatLocalized((string) trans('config.month_and_day')),]
|
||||||
);
|
);
|
||||||
$breadcrumbs->push($title, route('accounts.show', $account));
|
$breadcrumbs->push($title, route('accounts.show', $account));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user