chore: phpcs fix

This commit is contained in:
Jérémy Munsch 2026-10-27 20:20:52 +01:00
parent 8e213e2e33
commit 1899fd1f0e
No known key found for this signature in database
GPG key ID: 2AAECDA6B7330F91

View file

@ -46,9 +46,12 @@ class HtmlSanitizer
array $params
): void {
if (is_array($input)) {
array_walk_recursive($input, function (null | string | array | UploadedFile &$nestedInput, string $nestedName) use ($name, $params): void {
$this->cleanInput($nestedInput, $nestedName, $name, $params);
});
array_walk_recursive(
$input,
function (null | string | array | UploadedFile &$nestedInput, string $nestedName) use ($name, $params): void {
$this->cleanInput($nestedInput, $nestedName, $name, $params);
}
);
}
if (! is_string($input)) {