Skip to content

Commit b0cd62e

Browse files
Various cleanups
1 parent e902e70 commit b0cd62e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Loader/XliffFileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ private function validateSchema($file, \DOMDocument $dom, $schema)
194194
if (!@$dom->schemaValidateSource($schema)) {
195195
libxml_disable_entity_loader($disableEntities);
196196

197-
throw new InvalidResourceException(sprintf('Invalid resource provided: "%s"; Errors: '.implode("\n", $this->getXmlErrors($internalErrors)), $file));
197+
throw new InvalidResourceException(sprintf('Invalid resource provided: "%s"; Errors: ', $file).implode("\n", $this->getXmlErrors($internalErrors)));
198198
}
199199

200200
libxml_disable_entity_loader($disableEntities);

0 commit comments

Comments
 (0)