Use PSR-12 code style

This commit is contained in:
James Cole
2022-10-30 14:24:10 +01:00
parent 1667b88dcd
commit 64ff5eed27
28 changed files with 96 additions and 129 deletions

View File

@@ -77,7 +77,7 @@ class AttachmentFactory
);
$notes = (string) ($data['notes'] ?? '');
if ('' !== $notes) {
$note = new Note;
$note = new Note();
$note->noteable()->associate($attachment);
$note->text = $notes;
$note->save();
@@ -93,5 +93,4 @@ class AttachmentFactory
{
$this->user = $user;
}
}