Fix tests

refs #2635
This commit is contained in:
Alexander A. Klimov 2018-06-22 09:57:10 +02:00
parent 906c1668a4
commit 73473a3bb9
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ class Json
if ($autoSanitize) {
return static::encode(static::sanitizeUtf8Recursive($value), $options, $depth);
}
// Fallthrough
default:
throw new JsonEncodeException('%s: %s', static::lastErrorMsg(), var_export($value, true));