Skip to content

Commit dc50ad5

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: Tweak the code to avoid fabbot false positives
2 parents a02d65b + 040f10f commit dc50ad5

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(string $path, string $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)