Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1f70837

Browse files
bug #19292 [varDumper] Fix missing usage of ExceptionCaster::$traceArgs (nicolas-grekas)
This PR was merged into the 2.8 branch. Discussion ---------- [varDumper] Fix missing usage of ExceptionCaster::$traceArgs | Q | A | ------------- | --- | Branch? | 2.8 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Used in 2.7 but lost in 2.8 Commits ------- 6c5237c [varDumper] Fix missing usage of ExceptionCaster::$traceArgs
2 parents 5053ae2 + 6c5237c commit 1f70837

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/VarDumper/Caster/ExceptionCaster.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ private static function filterExceptionArray($xClass, array $a, $xPrefix, $filte
234234
'file' => $a[Caster::PREFIX_PROTECTED.'file'],
235235
'line' => $a[Caster::PREFIX_PROTECTED.'line'],
236236
));
237-
$a[$xPrefix.'trace'] = new TraceStub($trace);
237+
$a[$xPrefix.'trace'] = new TraceStub($trace, self::$traceArgs);
238238
}
239239
if (empty($a[$xPrefix.'previous'])) {
240240
unset($a[$xPrefix.'previous']);

0 commit comments

Comments
 (0)