Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Dec 1, 2022
1 parent 7f15d47 commit 7964629
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -102,7 +102,7 @@ public static function getFunctionReturnType(FunctionReturnTypeProviderEvent $ev
}
}

if (count($array_arg_types) === 1) {
if (count($orig_types) === 1) {
return $orig_types[0];
}

Expand Down

0 comments on commit 7964629

Please sign in to comment.