Skip to content

Commit bc34e0b

Browse files
committed
fixed markup
1 parent 1c265f0 commit bc34e0b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

guides/validation.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ Custom Constraints
357357
You can create a custom constraint by extending the base constraint class,
358358
``Symfony\Component\Validator\Constraint``. Options for your constraint are
359359
represented by public properties on the constraint class. For example, the
360-
``Url`` constraint includes ``message`` and ``protocols`` properties:
360+
``Url`` constraint includes ``message`` and ``protocols`` properties::
361361

362362
namespace Symfony\Component\Validator\Constraints;
363363

@@ -370,7 +370,7 @@ represented by public properties on the constraint class. For example, the
370370
As you can see, a constraint class is fairly minimal. The actual validation is
371371
performed by a another "constraint validator" class. Which constraint
372372
validator is specified by the constraint's ``validatedBy()`` method, which
373-
includes some simple default logic:
373+
includes some simple default logic::
374374

375375
// in the base Symfony\Component\Validator\Constraint class
376376
public function validatedBy()
@@ -411,7 +411,7 @@ and an `alias` attribute:
411411
;
412412
413413
You constraint class may now use this alias to reference the appropriate
414-
validator:
414+
validator::
415415

416416
public function validatedBy()
417417
{

0 commit comments

Comments
 (0)