From dbd9605ae2102ad3ad0fbb8e5ff8a1d9f40f0ca6 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Tue, 8 Oct 2024 09:18:00 +0200 Subject: [PATCH] Fix newline --- Loader/XmlFileLoader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Loader/XmlFileLoader.php b/Loader/XmlFileLoader.php index 54103ef0e..3a153e1e2 100644 --- a/Loader/XmlFileLoader.php +++ b/Loader/XmlFileLoader.php @@ -429,7 +429,7 @@ private function parseFileToDOM(string $file): \DOMDocument } } if ($errors) { - throw new InvalidArgumentException(sprintf('Unable to parse file "%s": ', $file).implode("/n", $errors), $e->getCode(), $e); + throw new InvalidArgumentException(sprintf('Unable to parse file "%s": ', $file).implode("\n", $errors), $e->getCode(), $e); } }