Skip to content

Commit cf778c0

Browse files
authored
Update custom_constraint.rst
1 parent 36337e9 commit cf778c0

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)