From 185b65712a2c30bb3d9d2eb577a3d33616ca1bd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Tue, 9 Jan 2024 18:51:11 +0100 Subject: [PATCH] Method should return null but return statement is missing. --- htdocs/core/modules/dons/html_generic.modules.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/core/modules/dons/html_generic.modules.php b/htdocs/core/modules/dons/html_generic.modules.php index 718586f2699..c1bb138fdc7 100644 --- a/htdocs/core/modules/dons/html_generic.modules.php +++ b/htdocs/core/modules/dons/html_generic.modules.php @@ -177,6 +177,8 @@ class html_generic extends ModeleDon fwrite($handle, $contents); fclose($handle); dolChmod($path); + + return; } // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps