Skip to content

Commit 9f4ea5d

Browse files
committed
Fixing a few more phpmethod references (this doesn't exist)
1 parent 55cbf1b commit 9f4ea5d

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

contributing/documentation/format.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ and to the PHP documentation:
161161
162162
:phpclass:`SimpleXMLElement`
163163
164-
:phpmethod:`DateTime::createFromFormat`
164+
`DateTime::createFromFormat`_
165165
166166
:phpfunction:`iterator_to_array`
167167
@@ -219,3 +219,4 @@ Installing the Sphinx extensions
219219
.. _Pygments website: http://pygments.org/languages/
220220
.. _source: https://github.com/fabpot/sphinx-php
221221
.. _Sphinx quick setup: http://sphinx-doc.org/tutorial.html#setting-up-the-documentation-sources
222+
.. _`DateTime::createFromFormat`: http://php.net/manual/en/datetime.createfromformat.php

reference/forms/types/country.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The "value" for each country is the two-letter country code.
1212

1313
.. note::
1414

15-
The locale of your user is guessed using :phpmethod:`Locale::getDefault()`
15+
The locale of your user is guessed using `Locale::getDefault()`_
1616

1717
Unlike the ``choice`` type, you don't need to specify a ``choices`` or
1818
``choice_list`` option as the field type automatically uses all of the countries

reference/forms/types/language.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The "value" for each language is the *Unicode language identifier*
1313

1414
.. note::
1515

16-
The locale of your user is guessed using :phpmethod:`Locale::getDefault()`
16+
The locale of your user is guessed using `Locale::getDefault()`_
1717

1818
Unlike the ``choice`` type, you don't need to specify a ``choices`` or
1919
``choice_list`` option as the field type automatically uses a large list
@@ -58,4 +58,6 @@ These options inherit from the :doc:`field</reference/forms/types/field>` type:
5858

5959
.. include:: /reference/forms/types/options/label.rst.inc
6060

61-
.. include:: /reference/forms/types/options/read_only.rst.inc
61+
.. include:: /reference/forms/types/options/read_only.rst.inc
62+
63+
.. _`Locale::getDefault()`: http://php.net/manual/en/locale.getdefault.php

0 commit comments

Comments
 (0)