Skip to content

Commit 187bfb3

Browse files
committed
minor #12809 Fixed method names when using the method directive (javiereguiluz)
This PR was merged into the 4.3 branch. Discussion ---------- Fixed method names when using the method directive I found this when reading PropertyInfo docs: ![image](https://user-images.githubusercontent.com/73419/70788639-9ece3900-1d91-11ea-9565-a29cc3b4008e.png) So, I checked all docs for this mistake ... but I only found another occurrence! Commits ------- c0ea4d2 Fixed method names when using the method directive
2 parents b2f2e52 + c0ea4d2 commit 187bfb3

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

components/options_resolver.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ method::
748748

749749
When using an option deprecated by you in your own library, you can pass
750750
``false`` as the second argument of the
751-
:method:`Symfony\\Component\\OptionsResolver\\Options::offsetGet()` method
751+
:method:`Symfony\\Component\\OptionsResolver\\Options::offsetGet` method
752752
to not trigger the deprecation warning.
753753

754754
Instead of passing the message, you may also pass a closure which returns

components/property_info.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,11 @@ Extractable Information
120120
The :class:`Symfony\\Component\\PropertyInfo\\PropertyInfoExtractor`
121121
class exposes public methods to extract several types of information:
122122

123-
* :ref:`List of properties <property-info-list>`: :method:`Symfony\\Component\\PropertyInfo\\PropertyListExtractorInterface::getProperties()`
124-
* :ref:`Property type <property-info-type>`: :method:`Symfony\\Component\\PropertyInfo\\PropertyTypeExtractorInterface::getTypes()`
125-
* :ref:`Property description <property-info-description>`: :method:`Symfony\\Component\\PropertyInfo\\PropertyDescriptionExtractorInterface::getShortDescription()` and :method:`Symfony\\Component\\PropertyInfo\\PropertyDescriptionExtractorInterface::getLongDescription()`
126-
* :ref:`Property access details <property-info-access>`: :method:`Symfony\\Component\\PropertyInfo\\PropertyAccessExtractorInterface::isReadable()` and :method:`Symfony\\Component\\PropertyInfo\\PropertyAccessExtractorInterface::isWritable()`
127-
* :ref:`Property initializable through the constructor <property-info-initializable>`: :method:`Symfony\\Component\\PropertyInfo\\PropertyInitializableExtractorInterface::isInitializable()`
123+
* :ref:`List of properties <property-info-list>`: :method:`Symfony\\Component\\PropertyInfo\\PropertyListExtractorInterface::getProperties`
124+
* :ref:`Property type <property-info-type>`: :method:`Symfony\\Component\\PropertyInfo\\PropertyTypeExtractorInterface::getTypes`
125+
* :ref:`Property description <property-info-description>`: :method:`Symfony\\Component\\PropertyInfo\\PropertyDescriptionExtractorInterface::getShortDescription` and :method:`Symfony\\Component\\PropertyInfo\\PropertyDescriptionExtractorInterface::getLongDescription`
126+
* :ref:`Property access details <property-info-access>`: :method:`Symfony\\Component\\PropertyInfo\\PropertyAccessExtractorInterface::isReadable` and :method:`Symfony\\Component\\PropertyInfo\\PropertyAccessExtractorInterface::isWritable`
127+
* :ref:`Property initializable through the constructor <property-info-initializable>`: :method:`Symfony\\Component\\PropertyInfo\\PropertyInitializableExtractorInterface::isInitializable`
128128

129129
.. note::
130130

0 commit comments

Comments
 (0)