Skip to content

Commit 6a88e43

Browse files
committed
fix ParamTagValueNode usage on DowngradeEnumToConstantListClassRector
1 parent abd18bf commit 6a88e43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/DowngradePhp80/Rector/Enum_/DowngradeEnumToConstantListClassRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ private function decorateParamDocType(
137137

138138
$paramTypeNode = $isNullable ? new NullableTypeNode($constTypeNode) : $constTypeNode;
139139

140-
$paramTagValueNode = new ParamTagValueNode($paramTypeNode, false, $paramName, '');
140+
$paramTagValueNode = new ParamTagValueNode($paramTypeNode, false, $paramName, '', false);
141141
$phpDocInfo->addTagValueNode($paramTagValueNode);
142142

143143
$this->docBlockUpdater->updateRefactoredNodeWithPhpDocInfo($classMethod);

0 commit comments

Comments
 (0)