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...
35
new StringType(),
36
'foo',
37
];
38
}
39
40
/**
41
* @param mixed $value
42
*
43
* @dataProvider invalidTypeValidationExamples
44
*/
45
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>.