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 { // ...