diff --git a/Annotation/ApiDoc.php b/Annotation/ApiDoc.php index 9004b55..6ffe308 100644 --- a/Annotation/ApiDoc.php +++ b/Annotation/ApiDoc.php @@ -330,10 +330,7 @@ class ApiDoc $data['statusCodes'] = $statusCodes; } - if ($section = $this->section) { - $data['section'] = $section; - } - + $data['section'] = $this->section; $data['https'] = $this->https; return $data;