We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23ec354 commit fd864adCopy full SHA for fd864ad
src/Type/Php/StrlenTypeSpecifyingExtension.php
@@ -58,7 +58,7 @@ public function specifyTypes(FunctionReflection $functionReflection, FuncCall $n
58
$accessory = new AccessoryNonFalsyStringType();
59
}
60
61
- return $this->typeSpecifier->create($args[0]->value, $accessory, $context, $scope)->setRootExpr($node);
+ return $this->typeSpecifier->create($args[0]->value, $accessory, $context, $scope)->setAlwaysOverwriteTypes()->setRootExpr($node);
62
63
64
return new SpecifiedTypes();
0 commit comments