Various code cleanup.

This commit is contained in:
James Cole
2021-05-24 08:50:17 +02:00
parent 3ec9753808
commit 815fd5ff6b
135 changed files with 643 additions and 582 deletions

View File

@@ -123,7 +123,7 @@ class AttachmentRepository implements AttachmentRepositoryInterface
*
* @param Attachment $attachment
*
* @return string
* @return string|null
*/
public function getNoteText(Attachment $attachment): ?string
{
@@ -167,6 +167,7 @@ class AttachmentRepository implements AttachmentRepositoryInterface
* @param array $data
*
* @return Attachment
* @throws Exception
*/
public function update(Attachment $attachment, array $data): Attachment
{