Skip to content

Commit a1f3132

Browse files
committed
Update StrTokFunctionReturnTypeExtension.php
1 parent 9b4a0bd commit a1f3132

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Type/Php/StrTokFunctionReturnTypeExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function getTypeFromFunctionCall(FunctionReflection $functionReflection,
3131
return null;
3232
}
3333

34-
$delimiterType = $scope->getType($functionCall->getArgs()[0]->value);
34+
$delimiterType = $scope->getType($args[0]->value);
3535
$isEmptyString = (new ConstantStringType(''))->isSuperTypeOf($delimiterType);
3636
if ($isEmptyString->yes()) {
3737
return new ConstantBooleanType(false);

0 commit comments

Comments
 (0)