Skip to content

Commit ed06b67

Browse files
committed
Merge pull request #60 from dazz/fix-exception-message
bugfix: JsonDecodingException message
2 parents c67157a + a2ff238 commit ed06b67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JsonSchema/Exception/JsonDecodingException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function __construct($code = JSON_ERROR_NONE, \Exception $previous = null
3030
$message = 'Malformed UTF-8 characters, possibly incorrectly encoded';
3131
break;
3232
case JSON_ERROR_SYNTAX:
33-
$message = 'The maximum stack depth has been exceeded';
33+
$message = 'JSON syntax is malformed';
3434
break;
3535
default:
3636
$message = 'Syntax error';

0 commit comments

Comments
 (0)