From c351d92158db6bc9f1ebe0e69163f2a15c1c5ea1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Sat, 16 Sep 2023 16:37:56 +0200 Subject: [PATCH] phpstan ::error file=htdocs/core/class/html.formmail.class.php,line=310,col=0::Cannot unset offset string on array. ::error file=htdocs/core/class/html.formmail.class.php,line=311,col=0::Cannot unset offset string on array. ::error file=htdocs/core/class/html.formmail.class.php,line=312,col=0::Cannot unset offset string on array. --- htdocs/core/class/html.formmail.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/html.formmail.class.php b/htdocs/core/class/html.formmail.class.php index 264ed21b512..b32eafcd79c 100644 --- a/htdocs/core/class/html.formmail.class.php +++ b/htdocs/core/class/html.formmail.class.php @@ -286,7 +286,7 @@ class FormMail extends Form /** * Remove a file from the list of attached files (stored in SECTION array) * - * @param string $keytodelete Key index in file array (0, 1, 2, ...) + * @param int $keytodelete Key index in file array (0, 1, 2, ...) * @return void */ public function remove_attached_files($keytodelete)