Skip to content

Commit 26c80ef

Browse files
committed
Merge branch '7.2' into 7.3
* 7.2: fix typos
2 parents 04f5498 + 6ec288e commit 26c80ef

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: components/var_dumper.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ They are called in registration order.
809809
Casters are responsible for returning the properties of the object or resource
810810
being cloned in an array. They are callables that accept five arguments:
811811

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

Diff for: reference/constraints/CssColor.rst

+1-1
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>`

Diff for: reference/forms/types/options/choice_value.rst.inc

+1-1
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)