From 03ccb9b548952aa107cd44973d62217a1710f54d Mon Sep 17 00:00:00 2001 From: AndrolGenhald Date: Wed, 15 Dec 2021 11:09:10 -0600 Subject: [PATCH] Add test for nested `array_map` return type. --- tests/ReturnTypeTest.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/tests/ReturnTypeTest.php b/tests/ReturnTypeTest.php index 7834103df91..1241c9bd110 100644 --- a/tests/ReturnTypeTest.php +++ b/tests/ReturnTypeTest.php @@ -1065,6 +1065,29 @@ public function __construct() { } }' ], + 'nestedArrayMapReturnTypeDoesntCrash' => [ + '