Skip to content

Commit c6ffdcf

Browse files
committed
minor symfony#23999 [VarDumper] Enhance docblock to tell about AbstractDumper::dumpLine(-1) (nicolas-grekas)
This PR was merged into the 2.7 branch. Discussion ---------- [VarDumper] Enhance docblock to tell about AbstractDumper::dumpLine(-1) | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | symfony#23992 | License | MIT | Doc PR | - Commits ------- 0164038 [VarDumper] Enhance docblock to tell about AbstractDumper::dumpLine(-1)
2 parents 56987ea + 0164038 commit c6ffdcf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Symfony/Component/VarDumper/Dumper/AbstractDumper.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ public function dump(Data $data, $output = null)
160160
/**
161161
* Dumps the current line.
162162
*
163-
* @param int $depth The recursive depth in the dumped structure for the line being dumped
163+
* @param int $depth The recursive depth in the dumped structure for the line being dumped,
164+
* or -1 to signal the end-of-dump to the line dumper callable
164165
*/
165166
protected function dumpLine($depth)
166167
{

0 commit comments

Comments
 (0)