mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-11 09:29:34 +00:00
Clean up comments
This commit is contained in:
@@ -299,7 +299,7 @@ try {
|
||||
$object = $attachment->attachable;
|
||||
if ($object instanceof TransactionJournal) {
|
||||
$group = $object->transactionGroup;
|
||||
if (null !== $group && $group instanceof TransactionGroup) {
|
||||
if ($group instanceof TransactionGroup) {
|
||||
$breadcrumbs->parent('transactions.show', $object->transactionGroup);
|
||||
}
|
||||
}
|
||||
@@ -1108,7 +1108,7 @@ try {
|
||||
$first = $group->transactionJournals()->first();
|
||||
|
||||
$breadcrumbs->push(
|
||||
trans('breadcrumbs.edit_journal', ['description' => limitStringLength((string)$first->description)]),
|
||||
trans('breadcrumbs.edit_journal', ['description' => limitStringLength($first->description)]),
|
||||
route('transactions.edit', [$group->id])
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user