Skip to content
Permalink
Browse files

Fix code and test

  • Loading branch information
muglug committed Dec 1, 2019
1 parent f21150b commit 27c9aa4286c665bbe96cd13882917e4048e6202f
@@ -1639,7 +1639,7 @@ private static function handlePossiblyMatchingByRefParam(
}
if ($template_result && $by_ref_out_type) {
$original_by_ref_out_type = clone $by_ref_type;
$original_by_ref_out_type = clone $by_ref_out_type;
$by_ref_out_type = UnionTemplateHandler::replaceTemplateTypesWithStandins(
clone $by_ref_out_type,
@@ -835,7 +835,7 @@ function example_sort_by_ref(array &$arr): bool {
/**
* @param array<int, array{0: int, 1: string}> $array
* @return array<int, array{0: int, 1: string}>
* @return list<array{0: int, 1: string}>
*/
function example(array $array): array {
example_sort_by_ref($array);

0 comments on commit 27c9aa4

Please sign in to comment.
You can’t perform that action at this time.