chore: phpcs fix
This commit is contained in:
parent
8e213e2e33
commit
1899fd1f0e
1 changed files with 6 additions and 3 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue