We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14d06a9 commit bc4ba33Copy full SHA for bc4ba33
src/Type/Php/ArrayCombineFunctionThrowTypeExtension.php
@@ -33,7 +33,7 @@ public function getThrowTypeFromFunctionCall(FunctionReflection $functionReflect
33
$secondArg = $funcCall->getArgs()[1]->value;
34
35
$hasValueError = $this->arrayCombineHelper->getReturnAndThrowType($firstArg, $secondArg, $scope)[1];
36
- if (!$hasValueError->no()) {
+ if ($hasValueError->yes()) {
37
return $functionReflection->getThrowType();
38
}
39
0 commit comments