🐛 default value from phpstan

This commit is contained in:
Gautier DELEGLISE
2024-11-01 17:33:39 +01:00
parent 54f9b11a4c
commit 2b2242d323
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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