mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-09 02:59:27 +03:00
Merge pull request #1088 from piotrantosik/patch-1
Fix migration command
This commit is contained in:
commit
a07e3bfe75
@ -81,7 +81,7 @@ class SwaggerDocblockConvertCommand extends ContainerAwareCommand
|
||||
* summary="'.$this->escapeQuotes($apiDoc->getDescription()).'"';
|
||||
|
||||
foreach ($apiDoc->getFilters() as $name => $parameter) {
|
||||
$description = array_key_exists('description', $parameter)
|
||||
$description = array_key_exists('description', $parameter) && null !== $parameter['description']
|
||||
? $this->escapeQuotes($parameter['description'])
|
||||
: 'todo';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user