Skip to content

Commit 42a07a9

Browse files
Merge branch '3.4' into 4.4
* 3.4: Various cleanups
2 parents 153d5f0 + 41ff65c commit 42a07a9

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)