Skip to content

Commit

Permalink
Updated json method
Browse files Browse the repository at this point in the history
  • Loading branch information
robinsonjohn committed Sep 15, 2020
1 parent f065576 commit f650e65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Validate.php
Expand Up @@ -436,7 +436,7 @@ public static function json($value): bool

if (self::string($value)) {

if (null !== json_decode($value)) {
if (NULL !== json_decode($value)) {

return (json_last_error() == JSON_ERROR_NONE);

Expand Down

0 comments on commit f650e65

Please sign in to comment.