mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
fixed cs
This commit is contained in:
parent
29c3798124
commit
a8b656f3a0
@ -162,6 +162,7 @@ class JmsMetadataParser implements ParserInterface
|
||||
{
|
||||
$ref = new \ReflectionClass($className);
|
||||
$extracted = $this->commentExtractor->getDocCommentText($ref->getProperty($propertyName));
|
||||
|
||||
return !empty($extracted) ? $extracted : "No description.";
|
||||
}
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<services>
|
||||
<service id='nelmio_api_doc.doc_comment_extractor' class='%nelmio_api_doc.doc_comment_extractor.class%' />
|
||||
|
||||
|
||||
<service id="nelmio_api_doc.extractor.api_doc_extractor" class="%nelmio_api_doc.extractor.api_doc_extractor.class%">
|
||||
<argument type="service" id="service_container"/>
|
||||
<argument type="service" id="router" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user