Optimise code.

This commit is contained in:
James Cole 2020-10-19 06:41:31 +02:00
parent 348452ec7d
commit 054eecf541
No known key found for this signature in database
GPG Key ID: B5669F9493CDE38D
4 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/** @var \Illuminate\Database\Eloquent\Factory $factory */

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/** @var \Illuminate\Database\Eloquent\Factory $factory */

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/** @var \Illuminate\Database\Eloquent\Factory $factory */

View File

@ -114,8 +114,8 @@ try {
if (null !== $start && null !== $end) {
$title = trans(
'firefly.between_dates_breadcrumb',
['start' => $start ? $start->formatLocalized((string) trans('config.month_and_day')) : '',
'end' => $end ? $end->formatLocalized((string) trans('config.month_and_day')) : '',]
['start' =>$start->formatLocalized((string) trans('config.month_and_day')),
'end' => $end->formatLocalized((string) trans('config.month_and_day')),]
);
$breadcrumbs->push($title, route('accounts.show', $account));
}