From c6f1758a187208ce453b2938d03195f447fd7fe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 18 Dec 2022 18:14:48 +0100 Subject: [PATCH] Fixed static analysis --- src/Services/Attachments/AttachmentSubmitHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Services/Attachments/AttachmentSubmitHandler.php b/src/Services/Attachments/AttachmentSubmitHandler.php index 6bfa3286..18ec6896 100644 --- a/src/Services/Attachments/AttachmentSubmitHandler.php +++ b/src/Services/Attachments/AttachmentSubmitHandler.php @@ -212,7 +212,7 @@ class AttachmentSubmitHandler /** * Rename attachments with an unsafe extension (meaning files which would be runned by a to a safe one. * @param Attachment $attachment - * @return void + * @return Attachment */ protected function renameBlacklistedExtensions(Attachment $attachment): Attachment {