Skip to content

Commit ec5d5f3

Browse files
[VarDumper] Fix dumping continuations
1 parent 6a88df4 commit ec5d5f3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

DataCollector/DumpDataCollector.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,7 @@ public function getDumps($format, $maxDepthLimit = -1, $maxItemsPerDepth = -1)
211211
// getLimitedClone is @deprecated, to be removed in 3.0
212212
$dumper->dump($dump['data']->getLimitedClone($maxDepthLimit, $maxItemsPerDepth));
213213
}
214-
rewind($data);
215-
$dump['data'] = stream_get_contents($data);
214+
$dump['data'] = stream_get_contents($data, -1, 0);
216215
ftruncate($data, 0);
217216
rewind($data);
218217
$dumps[] = $dump;

0 commit comments

Comments
 (0)