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 54f9b11 commit 2b2242dCopy full SHA for 2b2242d
src/DocBlock/Tags/Factory/MethodFactory.php
@@ -57,7 +57,7 @@ function (MethodTagValueParameterNode $param) use ($context) {
57
),
58
$param->isReference,
59
$param->isVariadic,
60
- $param->defaultValue
+ $param->defaultValue === null ? MethodParameter::NO_DEFAULT_VALUE : (string) $param->defaultValue
61
);
62
},
63
$tagValue->parameters
src/DocBlock/Tags/MethodParameter.php
@@ -30,7 +30,7 @@ final class MethodParameter
30
*/
31
private $defaultValue;
32
33
- private const NO_DEFAULT_VALUE = '__NO_VALUE__';
+ public const NO_DEFAULT_VALUE = '__NO_VALUE__';
34
35
/**
36
* @param mixed $defaultValue
0 commit comments