Skip to content

Commit 1ac94be

Browse files
committed
[#10746] minor tweaks
1 parent 018c53a commit 1ac94be

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

components/var_dumper/advanced.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,12 @@ method. They also typically implement the
179179
them from re-implementing the logic required to walk through a
180180
:class:`Symfony\\Component\\VarDumper\\Cloner\\Data` object's internal structure.
181181

182-
The :class:`Symfony\\Component\\VarDumper\\Dumper\\HtmlDumper` is by default using a dark theme.
183-
To use a light theme use the method :method:`$htmlDumper->setTheme('light') <Symfony\\Component\\VarDumper\\Dumper\\HtmlDumper::setTheme>`.
182+
The :class:`Symfony\\Component\\VarDumper\\Dumper\\HtmlDumper` uses a dark
183+
theme by default. Use the :method:`Symfony\\Component\\VarDumper\\Dumper\\HtmlDumper::setTheme`
184+
method to use a light theme::
185+
186+
// ...
187+
$htmlDumper->setTheme('light');
184188

185189
The :class:`Symfony\\Component\\VarDumper\\Dumper\\HtmlDumper` limits string
186190
length and nesting depth of the output to make it more readable. These options

0 commit comments

Comments
 (0)