mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Fix test
This commit is contained in:
parent
6f28d741bc
commit
952216ff21
@ -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];
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user