Skip to content

Commit db867e0

Browse files
authored
Merge pull request #20 from moufmouf/fix_readme
Fixing readme
2 parents 78a5636 + f014773 commit db867e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ if ($content === false) {
3535
throw new FileLoadingException('Could not load file foobar.json');
3636
}
3737
$foobar = json_decode($content);
38-
if ($foobar === false) {
38+
if ($foobar === null) {
3939
throw new FileLoadingException('foobar.json does not contain valid JSON: '.json_last_error());
4040
}
4141
```

0 commit comments

Comments
 (0)