Skip to content

Commit

Permalink
Merge branch '7.1' into 7.2
Browse files Browse the repository at this point in the history
* 7.1:
  serializer[custom_normalizer]: fix reference to built-in normalizers
  Update custom_constraint.rst
  • Loading branch information
javiereguiluz committed Jan 10, 2025
2 parents 2c1f607 + f428ba0 commit 1f70934
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion serializer/custom_normalizer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ How to Create your Custom Normalizer

The :doc:`Serializer component </serializer>` uses normalizers to transform
any data into an array. The component provides several
ref:`built-in normalizers <serializer-built-in-normalizers>` but you may
:ref:`built-in normalizers <serializer-built-in-normalizers>` but you may
need to create your own normalizer to transform an unsupported data
structure.

Expand Down
2 changes: 1 addition & 1 deletion validation/custom_constraint.rst
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ A class constraint validator must be applied to the class itself:
use App\Validator as AcmeAssert;
#[AcmeAssert\ProtocolClass]
#[AcmeAssert\ConfirmedPaymentReceipt]
class AcmeEntity
{
// ...
Expand Down

0 comments on commit 1f70934

Please sign in to comment.