Use PSR-12 code style

This commit is contained in:
James Cole
2022-10-30 14:24:28 +01:00
parent 2eebcb21f1
commit f53923f16c
187 changed files with 429 additions and 482 deletions

View File

@@ -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);

View File

@@ -32,7 +32,6 @@ use Illuminate\Support\Collection;
*/
interface AttachmentRepositoryInterface
{
/**
* @param Attachment $attachment
*