Skip to content

Commit

Permalink
clone Ds\Collection
Browse files Browse the repository at this point in the history
  • Loading branch information
enumag authored Mar 29, 2023
1 parent a9da0b0 commit a495ae9
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 @@ -239,7 +239,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);
}
}
Expand Down

0 comments on commit a495ae9

Please sign in to comment.