Skip to content

Commit 634c9b8

Browse files
committed
fix typos
1 parent d232ccc commit 634c9b8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

components/var_dumper.rst

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

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

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)