Skip to content

Commit 41ff65c

Browse files
Various cleanups
1 parent ee97c71 commit 41ff65c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Data/Bundle/Reader/JsonBundleReader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function read($path, $locale)
4646
$data = json_decode(file_get_contents($fileName), true);
4747

4848
if (null === $data) {
49-
throw new RuntimeException(sprintf('The resource bundle "%s" contains invalid JSON: '.json_last_error_msg(), $fileName));
49+
throw new RuntimeException(sprintf('The resource bundle "%s" contains invalid JSON: ', $fileName).json_last_error_msg());
5050
}
5151

5252
return $data;

0 commit comments

Comments
 (0)