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 f26d445 commit 1ed543bCopy full SHA for 1ed543b
src/DocBlock/Tags/MethodParameter.php
@@ -71,6 +71,9 @@ public function isVariadic(): bool
71
72
public function getDefaultValue(): ?string
73
{
74
+ if ($this->defaultValue === static::NO_DEFAULT_VALUE) {
75
+ return null;
76
+ }
77
if (is_array($this->defaultValue)) {
78
return implode(',', $this->defaultValue);
79
}
0 commit comments