mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-01 19:47:11 +00:00
Reformat various code.
This commit is contained in:
@@ -52,12 +52,12 @@ class PrependNotes implements ActionInterface
|
||||
{
|
||||
$dbNote = Note
|
||||
::
|
||||
where('noteable_id', (int)$journal['transaction_journal_id'])
|
||||
where('noteable_id', (int) $journal['transaction_journal_id'])
|
||||
->where('noteable_type', TransactionJournal::class)
|
||||
->first(['notes.*']);
|
||||
if (null === $dbNote) {
|
||||
$dbNote = new Note;
|
||||
$dbNote->noteable_id = (int)$journal['transaction_journal_id'];
|
||||
$dbNote->noteable_id = (int) $journal['transaction_journal_id'];
|
||||
$dbNote->noteable_type = TransactionJournal::class;
|
||||
$dbNote->text = '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user