The expression yield 'matching string' ...y('foo', 'bar'), 'bar') returns the type Generator which is incompatible with the documented return type array<mixed,mixed>.
Loading history...
34
['foo', 'bar'],
35
'bar',
36
];
37
}
38
39
/**
40
* @param mixed[] $allowedValues
41
* @param mixed $value
42
*
43
* @dataProvider notFulfilledProvider
44
*/
45
public function testNotFulfilledByGivenValue(array $allowedValues, $value) : void
The expression yield 'not matching stri...y('foo', 'bar'), 'baz') returns the type Generator which is incompatible with the documented return type array<mixed,mixed>.