Skip to content

Commit

Permalink
minor #20551 [Validator] [CustomValidationConstraint] Fix wrong attri…
Browse files Browse the repository at this point in the history
…bute 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
  • Loading branch information
javiereguiluz committed Jan 10, 2025
2 parents e5f2781 + cf778c0 commit 7dbdf2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validation/custom_constraint.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
// ...
Expand Down

0 comments on commit 7dbdf2c

Please sign in to comment.