Skip to content

Commit

Permalink
Remove phpdoc param suffix description
Browse files Browse the repository at this point in the history
  • Loading branch information
Prometee committed Jan 29, 2020
1 parent 5fd0810 commit c336179
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Swagger/SwaggerOperationsGenerator.php
Expand Up @@ -290,10 +290,8 @@ public function createAnOperationParameter(ClassGeneratorInterface $classBuilder
if (isset($parameterConfiguration['required'])) {
if ((bool) $parameterConfiguration['required']) {
$value = null;
$description .= ' (required)';
} else {
$value = $value ?? 'null';
$description .= ' (optional)';
}
}

Expand Down

0 comments on commit c336179

Please sign in to comment.