Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fixed a comment in the sample code.
  • Loading branch information
msng authored Aug 25, 2022
1 parent 6a4c59f commit e0e67f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ But most of us are too lazy to check explicitly for every single return of every

```php
// This code is incorrect. Twice.
// "file_get_contents" can return false if the file does not exists
// "file_get_contents" can return false if the file does not exist
// "json_decode" can return false if the file content is not valid JSON
$content = file_get_contents('foobar.json');
$foobar = json_decode($content);
Expand Down

0 comments on commit e0e67f0

Please # to comment.