mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-10 11:39:25 +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()).'"';
|
* summary="'.$this->escapeQuotes($apiDoc->getDescription()).'"';
|
||||||
|
|
||||||
foreach ($apiDoc->getFilters() as $name => $parameter) {
|
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'])
|
? $this->escapeQuotes($parameter['description'])
|
||||||
: 'todo';
|
: 'todo';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user