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 eb43866

Browse filesBrowse files
committed
minor #20698 fix typos (xabbuh)
This PR was merged into the 6.4 branch. Discussion ---------- fix typos see https://writingexplained.org/cast-vs-casted Commits ------- 634c9b8 fix typos
2 parents d232ccc + 634c9b8 commit eb43866
Copy full SHA for eb43866

File tree

Expand file treeCollapse file tree

3 files changed

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

3 files changed

+3
-3
lines changed

‎components/var_dumper.rst

Copy file name to clipboardExpand all lines: components/var_dumper.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ They are called in registration order.
813813
Casters are responsible for returning the properties of the object or resource
814814
being cloned in an array. They are callables that accept five arguments:
815815

816-
* the object or resource being casted;
816+
* the object or resource being cast;
817817
* an array modeled for objects after PHP's native ``(array)`` cast operator;
818818
* a :class:`Symfony\\Component\\VarDumper\\Cloner\\Stub` object
819819
representing the main properties of the object (class, type, etc.);

‎reference/constraints/CssColor.rst

Copy file name to clipboardExpand all lines: reference/constraints/CssColor.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ CssColor
22
========
33

44
Validates that a value is a valid CSS color. The underlying value is
5-
casted to a string before being validated.
5+
cast to a string before being validated.
66

77
========== ===================================================================
88
Applies to :ref:`property or method <validation-property-target>`

‎reference/forms/types/options/choice_value.rst.inc

Copy file name to clipboardExpand all lines: reference/forms/types/options/choice_value.rst.inc
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ You don't normally need to worry about this, but it might be handy when processi
99
an API request (since you can configure the value that will be sent in the API request).
1010

1111
This can be a callable or a property path. By default, the choices are used if they
12-
can be casted to strings. Otherwise an incrementing integer is used (starting at ``0``).
12+
can be cast to strings. Otherwise an incrementing integer is used (starting at ``0``).
1313

1414
If you pass a callable, it will receive one argument: the choice itself. When using
1515
the :doc:`/reference/forms/types/entity`, the argument will be the entity object

0 commit comments

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