diff --git a/hooks/TestCaseHandler.php b/hooks/TestCaseHandler.php index 7751611..c5b73f1 100644 --- a/hooks/TestCaseHandler.php +++ b/hooks/TestCaseHandler.php @@ -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(), ]);