Skip to content

Commit 7dbdf2c

Browse files
committed
minor #20551 [Validator] [CustomValidationConstraint] Fix wrong attribute class name (cavasinf)
This PR was merged into the 6.4 branch. Discussion ---------- [Validator] [CustomValidationConstraint] Fix wrong attribute class name <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `7.x` for features of unreleased versions). --> Commits ------- cf778c0 Update custom_constraint.rst
2 parents e5f2781 + cf778c0 commit 7dbdf2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validation/custom_constraint.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ A class constraint validator must be applied to the class itself:
499499
500500
use App\Validator as AcmeAssert;
501501
502-
#[AcmeAssert\ProtocolClass]
502+
#[AcmeAssert\ConfirmedPaymentReceipt]
503503
class AcmeEntity
504504
{
505505
// ...

0 commit comments

Comments
 (0)