Skip to content

Commit 6e73637

Browse files
committed
[#6316] Use phpmethod role
1 parent aefe903 commit 6e73637

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

reference/constraints/DateTime.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ format
8787
.. versionadded:: 3.1
8888
The ``format`` option was introduced in Symfony 3.1.
8989

90-
This option allows to validate a custom date format.
91-
See `DateTime::createFromFormat <date_create_from_format>`_ for formatting options.
90+
This option allows to validate a custom date format. See
91+
:phpmethod:`DateTime::createFromFormat` for formatting options.
9292

9393
message
9494
~~~~~~~
@@ -98,5 +98,3 @@ message
9898
This message is shown if the underlying data is not a valid datetime.
9999

100100
.. include:: /reference/constraints/_payload-option.rst.inc
101-
102-
.. _`date_create_from_format`: http://php.net/manual/en/datetime.createfromformat.php

0 commit comments

Comments
 (0)