We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b4a0bd commit a1f3132Copy full SHA for a1f3132
src/Type/Php/StrTokFunctionReturnTypeExtension.php
@@ -31,7 +31,7 @@ public function getTypeFromFunctionCall(FunctionReflection $functionReflection,
31
return null;
32
}
33
34
- $delimiterType = $scope->getType($functionCall->getArgs()[0]->value);
+ $delimiterType = $scope->getType($args[0]->value);
35
$isEmptyString = (new ConstantStringType(''))->isSuperTypeOf($delimiterType);
36
if ($isEmptyString->yes()) {
37
return new ConstantBooleanType(false);
0 commit comments