mirror of
https://github.com/danog/psalm-plugin-phpunit.git
synced 2024-12-03 09:57:52 +01:00
Use array-key for expected iterable type
This commit is contained in:
parent
f3138fbbc6
commit
3d54208ab0
@ -192,7 +192,7 @@ class TestCaseHandler implements
|
|||||||
assert(null !== $provider_return_type_location);
|
assert(null !== $provider_return_type_location);
|
||||||
|
|
||||||
$expected_provider_return_type = new Type\Atomic\TIterable([
|
$expected_provider_return_type = new Type\Atomic\TIterable([
|
||||||
Type::combineUnionTypes(Type::getInt(), Type::getString()),
|
Type::combineUnionTypes(Type::getArrayKey()),
|
||||||
Type::getArray(),
|
Type::getArray(),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user