The expression yield 'valid string' => ...pe\StringType(), 'foo') returns the type Generator which is incompatible with the documented return type array<mixed,mixed>.
Loading history...
44
new StringType(),
45
'foo',
46
];
47
}
48
49
/**
50
* @param mixed $value
51
*
52
* @dataProvider invalidTypeValidationProvider
53
*/
54
public function testNotValidatesValuesNotMatchingTypeAndThrows(Type $type, $value) : void
The expression yield 'value not matchin...\Type\StringType(), 42) returns the type Generator which is incompatible with the documented return type array<mixed,mixed>.