diff options
Diffstat (limited to 'vendor/symfony/translation/Loader/XliffFileLoader.php')
| -rw-r--r-- | vendor/symfony/translation/Loader/XliffFileLoader.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/symfony/translation/Loader/XliffFileLoader.php b/vendor/symfony/translation/Loader/XliffFileLoader.php index 99306b86b1..ed97cae290 100644 --- a/vendor/symfony/translation/Loader/XliffFileLoader.php +++ b/vendor/symfony/translation/Loader/XliffFileLoader.php @@ -58,7 +58,7 @@ class XliffFileLoader implements LoaderInterface $xliffVersion = XliffUtils::getVersionNumber($dom); if ($errors = XliffUtils::validateSchema($dom)) { - throw new InvalidResourceException(sprintf('Invalid resource provided: "%s"; Errors: %s', $xliffVersion, XliffUtils::getErrorsAsString($errors))); + throw new InvalidResourceException(sprintf('Invalid resource provided: "%s"; Errors: %s', $resource, XliffUtils::getErrorsAsString($errors))); } if ('1.2' === $xliffVersion) { |
