Skip to content

Commit

Permalink
Dumper: clones Ds\Collection (#561)
Browse files Browse the repository at this point in the history
  • Loading branch information
enumag authored and dg committed Sep 25, 2023
1 parent 900cc92 commit 752aa8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tracy/Dumper/Exposer.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ public static function exposeDsCollection(
Describer $describer
): void
{
foreach ($obj as $k => $v) {
foreach (clone $obj as $k => $v) {
$describer->addPropertyTo($value, (string) $k, $v, Value::PropertyVirtual);
}
}
Expand Down

0 comments on commit 752aa8d

Please sign in to comment.