mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-20 08:30:06 +00:00
Use PSR-12 code style
This commit is contained in:
@@ -210,7 +210,7 @@ class AttachmentRepository implements AttachmentRepositoryInterface
|
||||
}
|
||||
$dbNote = $attachment->notes()->first();
|
||||
if (null === $dbNote) {
|
||||
$dbNote = new Note;
|
||||
$dbNote = new Note();
|
||||
$dbNote->noteable()->associate($attachment);
|
||||
}
|
||||
$dbNote->text = trim($note);
|
||||
|
||||
Reference in New Issue
Block a user