Skip to content

fix typos #20698

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/var_dumper.rst
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ They are called in registration order.
Casters are responsible for returning the properties of the object or resource
being cloned in an array. They are callables that accept five arguments:

* the object or resource being casted;
* the object or resource being cast;
* an array modeled for objects after PHP's native ``(array)`` cast operator;
* a :class:`Symfony\\Component\\VarDumper\\Cloner\\Stub` object
representing the main properties of the object (class, type, etc.);
Expand Down
2 changes: 1 addition & 1 deletion reference/constraints/CssColor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ CssColor
========

Validates that a value is a valid CSS color. The underlying value is
casted to a string before being validated.
cast to a string before being validated.

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Expand Down
2 changes: 1 addition & 1 deletion reference/forms/types/options/choice_value.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ You don't normally need to worry about this, but it might be handy when processi
an API request (since you can configure the value that will be sent in the API request).

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

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