File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -182,8 +182,8 @@ See :ref:`components-property-info-type` for info about the ``Type`` class.
182
182
183
183
.. deprecated :: 7.3
184
184
185
- The :method: `Symfony\\ Component\\ PropertyInfo\\ PropertyInfoExtractor::getTypes ` is
186
- deprecated since Symfony 7.3. Use the method :method: `Symfony\\ Component\\ PropertyInfo\\ PropertyInfoExtractor::getType `
185
+ The :method: `Symfony\\ Component\\ PropertyInfo\\ PropertyInfoExtractor::getTypes ` method is
186
+ deprecated since Symfony 7.3. Use the :method: `Symfony\\ Component\\ PropertyInfo\\ PropertyInfoExtractor::getType ` method
187
187
instead.
188
188
189
189
Documentation Block
@@ -571,7 +571,7 @@ on the constructor arguments::
571
571
use Symfony\Component\PropertyInfo\Extractor\ConstructorExtractor;
572
572
573
573
$constructorExtractor = new ConstructorExtractor([new ReflectionExtractor()]);
574
- $constructorExtractor->getType(Foo::class, 'bar')[0]->getBuiltinType() ; // returns 'string'
574
+ (string) $constructorExtractor->getType(Foo::class, 'bar')[0]; // returns 'string'
575
575
576
576
.. _`components-property-information-extractors-creation` :
577
577
You can’t perform that action at this time.
0 commit comments