From cf778c0d7991170dc4dec1392c3ad290de7e3cf7 Mon Sep 17 00:00:00 2001 From: Florian CAVASIN Date: Thu, 9 Jan 2025 15:54:44 +0100 Subject: [PATCH 1/2] Update custom_constraint.rst --- validation/custom_constraint.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validation/custom_constraint.rst b/validation/custom_constraint.rst index c2b4eff130a..8fcb0c5c10e 100644 --- a/validation/custom_constraint.rst +++ b/validation/custom_constraint.rst @@ -499,7 +499,7 @@ A class constraint validator must be applied to the class itself: use App\Validator as AcmeAssert; - #[AcmeAssert\ProtocolClass] + #[AcmeAssert\ConfirmedPaymentReceipt] class AcmeEntity { // ... From 56c035a3c3f85299d29b56a96a52d502c2268187 Mon Sep 17 00:00:00 2001 From: Marko Kaznovac Date: Thu, 9 Jan 2025 22:04:34 +0100 Subject: [PATCH 2/2] serializer[custom_normalizer]: fix reference to built-in normalizers --- serializer/custom_normalizer.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serializer/custom_normalizer.rst b/serializer/custom_normalizer.rst index 276c618b8ac..d6ba66f89b6 100644 --- a/serializer/custom_normalizer.rst +++ b/serializer/custom_normalizer.rst @@ -3,7 +3,7 @@ How to Create your Custom Normalizer The :doc:`Serializer component ` uses normalizers to transform any data into an array. The component provides several -ref:`built-in normalizers ` but you may +:ref:`built-in normalizers ` but you may need to create your own normalizer to transform an unsupported data structure.