Skip to content

Commit c3041ea

Browse files
committed
Unit test fix 2
1 parent dfd9a74 commit c3041ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Type/Php/DefineConstantTypeSpecifyingExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function specifyTypes(
5151
}
5252

5353
$valueType = $scope->getType($node->getArgs()[1]->value);
54-
$finalType = ($valueType === null) ? null : $scope->getConstantExplicitTypeFromConfig(
54+
$finalType = $scope->getConstantExplicitTypeFromConfig(
5555
$constantName->getValue(),
5656
$valueType,
5757
);

0 commit comments

Comments
 (0)