Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1a29f24

Browse filesBrowse files
nicolas-grekasChristian Flothmann
authored and
Christian Flothmann
committed
typos in the var-dumper component
1 parent 265604b commit 1a29f24
Copy full SHA for 1a29f24

File tree

Expand file treeCollapse file tree

2 files changed

+10
-10
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+10
-10
lines changed

‎components/var_dumper/advanced.rst

Copy file name to clipboardExpand all lines: components/var_dumper/advanced.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You can change the behavior of this function by calling
1212
Calls to ``dump()`` will then be forwarded to ``$callable``.
1313

1414
By adding a handler, you can customize the `Cloners`_, `Dumpers`_ and `Casters`_
15-
explained below. A simple implementation of a handler function might look
15+
as explained below. A simple implementation of a handler function might look
1616
like this::
1717

1818
use Symfony\Component\VarDumper\VarDumper;
@@ -41,7 +41,7 @@ object this way::
4141

4242
$cloner = new VarCloner();
4343
$data = $cloner->cloneVar($myVar);
44-
// this is commonly then passed to the dumpe
44+
// this is commonly then passed to the dumper
4545
// see the example at the top of this page
4646
// $dumper->dump($data);
4747

‎components/var_dumper/introduction.rst

Copy file name to clipboardExpand all lines: components/var_dumper/introduction.rst
+8-8Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,9 @@ then its dump representation::
191191
.. code-block:: php
192192
193193
$var = new \ErrorException(
194-
"For some objects, properties have special values
195-
that are best represented as constants, like
196-
`severity` below. Hovering displays the value (`2`).",
194+
"For some objects, properties have special values\n"
195+
."that are best represented as constants, like\n"
196+
."`severity` below. Hovering displays the value (`2`).\n",
197197
0,
198198
E_WARNING
199199
);
@@ -227,11 +227,11 @@ then its dump representation::
227227
.. code-block:: php
228228
229229
$var = new AcmeController(
230-
"When a dump goes over its maximum items limit,
231-
or when some special objects are encountered,
232-
children can be replaced by an ellipsis and
233-
optionnally followed by a number that says how
234-
many have been removed; `9` in this case."
230+
"When a dump goes over its maximum items limit,\n"
231+
."or when some special objects are encountered,\n"
232+
."children can be replaced by an ellipsis and\n"
233+
."optionnally followed by a number that says how\n"
234+
."many have been removed; `9` in this case.\n"
235235
);
236236
dump($var);
237237

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.