We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7b09e3 commit 13cbe7bCopy full SHA for 13cbe7b
util/Endpoint.php
@@ -436,12 +436,13 @@ public function getClassName(): string
436
437
public function renderDocParams(): string
438
{
439
- if (!isset($this->content['params']) && empty($this->getParts())) {
440
- return '';
441
- }
442
$space = $this->getMaxLengthBodyPartsParams();
443
444
$result = "\n /**\n";
+ if (isset($this->content['documentation']['description'])) {
+ $result .= " * {$this->content['documentation']['description']}\n";
+ $result .= " *\n";
445
+ }
446
$result .= $this->extractPartsDescription($space);
447
$result .= $this->extractParamsDescription($space);
448
$result .= $this->extractBodyDescription($space);
0 commit comments