From 1899fd1f0eafe2eb9bc44dec474662537c5c58a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Munsch?= Date: Tue, 27 Oct 2026 20:20:52 +0100 Subject: [PATCH] chore: phpcs fix --- app/Http/Middleware/HtmlSanitizer.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/app/Http/Middleware/HtmlSanitizer.php b/app/Http/Middleware/HtmlSanitizer.php index 94157cf..56fa2da 100644 --- a/app/Http/Middleware/HtmlSanitizer.php +++ b/app/Http/Middleware/HtmlSanitizer.php @@ -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)) {