Skip to content

Commit 93b023d

Browse files
committed
Fix build
1 parent 5046ff1 commit 93b023d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Type/ClosureTypeFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public function getDefaultValue(): ?Type
129129
}
130130
}
131131

132-
return new ClosureType($parameters, TypehintHelper::decideTypeFromReflection(ReflectionType::fromTypeOrNull($betterReflectionFunction->getReturnType()), null, $selfClass), $betterReflectionFunction->isVariadic());
132+
return new ClosureType($parameters, TypehintHelper::decideTypeFromReflection(ReflectionType::fromTypeOrNull($betterReflectionFunction->getReturnType()), selfClass: $selfClass), $betterReflectionFunction->isVariadic());
133133
}
134134

135135
}

0 commit comments

Comments
 (0)