From bc91e9d686dfa754ded793934ba8df7a9822de8c Mon Sep 17 00:00:00 2001 From: Piotr Antosik Date: Mon, 18 Sep 2017 14:32:19 +0200 Subject: [PATCH] Update UPGRADE-3.0.md --- UPGRADE-3.0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UPGRADE-3.0.md b/UPGRADE-3.0.md index 2c2f87f..e36f33e 100644 --- a/UPGRADE-3.0.md +++ b/UPGRADE-3.0.md @@ -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';