mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 18:58:46 +02:00
Fixed static analysis
This commit is contained in:
parent
14bbe3d6d6
commit
c6f1758a18
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue