1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00
This commit is contained in:
Matthew Brown 2020-05-20 23:24:50 -04:00
parent 6f28d741bc
commit 952216ff21

View File

@ -2728,7 +2728,7 @@ class ClassTemplateTest extends TestCase
* @return T
*/
function unwrap(array $containers) {
return array_map(fn($container) => $container->get(), $containers);
return array_map(fn($container) => $container->get(), $containers)[0];
}
/**