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.
2 parents 91e8a8e + 45939ee commit 294bdf1Copy full SHA for 294bdf1
src/Common/Common.php
@@ -57,7 +57,7 @@ protected static function safeJsonString($fieldValue)
57
58
protected static function is_json($str): bool
59
{
60
- if (!is_string($str)) {
+ if (!is_string($str) || is_numeric($str)) {
61
return false;
62
}
63
$json = json_decode($str);
0 commit comments