Use array-key for expected iterable type

This commit is contained in:
Matthew Brown 2019-05-14 14:30:01 -04:00 committed by GitHub
parent f3138fbbc6
commit 3d54208ab0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -192,7 +192,7 @@ class TestCaseHandler implements
assert(null !== $provider_return_type_location);
$expected_provider_return_type = new Type\Atomic\TIterable([
Type::combineUnionTypes(Type::getInt(), Type::getString()),
Type::combineUnionTypes(Type::getArrayKey()),
Type::getArray(),
]);