diff --git a/src/JsonParser.php b/src/JsonParser.php index fb7f3fe..1b48781 100644 --- a/src/JsonParser.php +++ b/src/JsonParser.php @@ -152,7 +152,7 @@ final class JsonParser implements IteratorAggregate $callback ??= fn () => true; foreach ($this as $key => $value) { - $callback($value, $key); + $callback($value, $key, $this); } }