Skip to content

Commit 040f10f

Browse files
committed
Merge branch '3.4' into 4.4
* 3.4: Tweak the code to avoid fabbot false positives
2 parents 63238a5 + 1346a5b commit 040f10f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Data/Bundle/Reader/JsonBundleReader.php

+1-1
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: %s.', $fileName, json_last_error_msg()));
49+
throw new RuntimeException(sprintf('The resource bundle "%s" contains invalid JSON: '.json_last_error_msg(), $fileName));
5050
}
5151

5252
return $data;

0 commit comments

Comments
 (0)