From cb2b55b9364027c07b243558eb97086cbae8bc2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maurice=20Preu=C3=9F?= Date: Sat, 22 Nov 2025 17:16:45 +0100 Subject: [PATCH] Fix string formatting in __toString method --- src/Config/Location.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Config/Location.php b/src/Config/Location.php index 2345b06..6ed0cec 100644 --- a/src/Config/Location.php +++ b/src/Config/Location.php @@ -46,7 +46,7 @@ class Location extends Context public function __toString() : string { return sprintf( - "{$this->name} %s %s {\n\t%s\n}\n", + "{$this->name} %s %s {\n\t%s\n}", $this->match, $this->location, implode("\n\t", (array)$this->childNodes->getIterator())