mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
🐛 default value from phpstan
This commit is contained in:
@@ -57,7 +57,7 @@ final class MethodFactory implements PHPStanFactory
|
||||
),
|
||||
$param->isReference,
|
||||
$param->isVariadic,
|
||||
$param->defaultValue
|
||||
$param->defaultValue === null ? MethodParameter::NO_DEFAULT_VALUE : (string) $param->defaultValue
|
||||
);
|
||||
},
|
||||
$tagValue->parameters
|
||||
|
||||
@@ -30,7 +30,7 @@ final class MethodParameter
|
||||
*/
|
||||
private $defaultValue;
|
||||
|
||||
private const NO_DEFAULT_VALUE = '__NO_VALUE__';
|
||||
public const NO_DEFAULT_VALUE = '__NO_VALUE__';
|
||||
|
||||
/**
|
||||
* @param mixed $defaultValue
|
||||
|
||||
Reference in New Issue
Block a user