Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hhamon committed Apr 6, 2019
1 parent d564218 commit b37bc78
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions reference/constraints/Timezone.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ Timezone

Validates that a value is a valid timezone identifier (e.g. ``Europe/Paris``).

========== ===================================================================
========== ======================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `groups`_
- `message`_
- `payload`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\Timezone`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\TimezoneValidator`
========== ===================================================================
========== ======================================================================

Basic Usage
-----------
Expand Down Expand Up @@ -66,7 +66,7 @@ string meant to contain a timezone identifier (e.g. ``America/New_York``):
use Symfony\Component\Validator\Mapping\ClassMetadata;
use Symfony\Component\Validator\Constraints as Assert;
class Event
class UserSettings
{
protected $timezone;
Expand Down

0 comments on commit b37bc78

Please sign in to comment.