Skip to content

Commit

Permalink
Merge pull request #7626 from kenjis/update-kint-507
Browse files Browse the repository at this point in the history
chore: update Kint to 5.0.7
  • Loading branch information
kenjis authored Jun 27, 2023
2 parents 1f09de8 + d3b217c commit 08c046e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion system/ThirdParty/Kint/Parser/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,11 @@ private function parseArray(array &$var, Value $o): Value
}

$stash = $val;
$copy[$i] = $refmarker;
try {
$copy[$i] = $refmarker;
} catch (TypeError $e) {
$child->reference = true;
}
if ($val === $refmarker) {
$child->reference = true;
$val = $stash;
Expand Down

0 comments on commit 08c046e

Please sign in to comment.