We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 029eaaa commit ccf6f0fCopy full SHA for ccf6f0f
README.md
@@ -36,7 +36,7 @@ if ($content === false) {
36
}
37
$foobar = json_decode($content);
38
if (json_last_error() !== JSON_ERROR_NONE) {
39
- throw new FileLoadingException('foobar.json does not contain valid JSON: '.json_last_error());
+ throw new FileLoadingException('foobar.json does not contain valid JSON: '.json_last_error_msg());
40
41
```
42
0 commit comments