From c69ace169a00bb9be15325741a19904c5531f2a7 Mon Sep 17 00:00:00 2001 From: "Barry vd. Heuvel" Date: Fri, 9 Jan 2026 22:19:12 +0100 Subject: [PATCH] Use formatter --- src/SymfonyRequestCollector.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/SymfonyRequestCollector.php b/src/SymfonyRequestCollector.php index b29b433..948c697 100644 --- a/src/SymfonyRequestCollector.php +++ b/src/SymfonyRequestCollector.php @@ -123,11 +123,7 @@ public function collect(): array $data = $this->hideMaskedValues($data); foreach ($data as $key => $var) { if (!is_string($data[$key])) { - if ($this->isHtmlVarDumperUsed()) { - $data[$key] = $this->getVarDumper()->renderVar($var); - } else { - $data[$key] = $this->getDataFormatter()->formatVar($var); - } + $data[$key] = $this->getDataFormatter()->formatVar($var); } }