Fixed static analysis

This commit is contained in:
Jan Böhmer 2022-12-18 18:14:48 +01:00
parent 14bbe3d6d6
commit c6f1758a18

View file

@ -212,7 +212,7 @@ class AttachmentSubmitHandler
/** /**
* Rename attachments with an unsafe extension (meaning files which would be runned by a to a safe one. * Rename attachments with an unsafe extension (meaning files which would be runned by a to a safe one.
* @param Attachment $attachment * @param Attachment $attachment
* @return void * @return Attachment
*/ */
protected function renameBlacklistedExtensions(Attachment $attachment): Attachment protected function renameBlacklistedExtensions(Attachment $attachment): Attachment
{ {