mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Fix test
This commit is contained in:
parent
6f28d741bc
commit
952216ff21
@ -2728,7 +2728,7 @@ class ClassTemplateTest extends TestCase
|
|||||||
* @return T
|
* @return T
|
||||||
*/
|
*/
|
||||||
function unwrap(array $containers) {
|
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