8000 minor #58487 [DependencyInjection] Fix newline (OskarStark) · devloop42/symfony@b173105 · GitHub
[go: up one dir, main page]

Skip to content

Commit b173105

Browse files
minor symfony#58487 [DependencyInjection] Fix newline (OskarStark)
This PR was merged into the 5.4 branch. Discussion ---------- [DependencyInjection] Fix newline | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | Fix symfony#58472 (comment) | License | MIT Commits ------- 8368669 Fix newline
2 parents e5f794d + 8368669 commit b173105

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ private function parseFileToDOM(string $file): \DOMDocument
429429
}
430430
}
431431
if ($errors) {
432-
throw new InvalidArgumentException(sprintf('Unable to parse file "%s": ', $file).implode("/n", $errors), $e->getCode(), $e);
432+
throw new InvalidArgumentException(sprintf('Unable to parse file "%s": ', $file).implode("\n", $errors), $e->getCode(), $e);
433433
}
434434
}
435435

0 commit comments

Comments
 (0)
0