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 1398ae0 commit c8ad51eCopy full SHA for c8ad51e
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