Skip to content

Commit 2d61133

Browse files
committed
chore: Fix conversion
Signed-off-by: Julius Knorr <jus@bitgrid.net>
1 parent 9f3ea2a commit 2d61133

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Service/AttachmentService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ private function getTextFilePublic(?int $documentId, string $shareToken): File {
575575
} catch (ShareNotFound $e) {
576576
// same as below
577577
}
578-
throw new NotFoundException('Text file with id=' . $documentId . ' and shareToken ' . $shareToken . ' was not found.');
578+
throw new NotFoundException('Text file with id=' . (string)$documentId . ' and shareToken ' . $shareToken . ' was not found.');
579579
}
580580

581581
/**

0 commit comments

Comments
 (0)