chore: update Kint to 4.1.3 in ThirdParty

This commit is contained in:
kenjis 2022-07-13 13:38:32 +09:00
parent 8725d38314
commit 1f732552d2
No known key found for this signature in database
GPG Key ID: BD254878922AF198
2 changed files with 7 additions and 2 deletions

View File

@ -34,6 +34,7 @@ use Kint\Zval\ResourceValue;
use Kint\Zval\Value; use Kint\Zval\Value;
use ReflectionObject; use ReflectionObject;
use stdClass; use stdClass;
use TypeError;
class Parser class Parser
{ {
@ -524,7 +525,11 @@ class Parser
} }
$stash = $val; $stash = $val;
$copy[$i] = $refmarker; try {
$copy[$i] = $refmarker;
} catch (TypeError $e) {
$child->reference = true;
}
if ($val === $refmarker) { if ($val === $refmarker) {
$child->reference = true; $child->reference = true;
$val = $stash; $val = $stash;

File diff suppressed because one or more lines are too long