File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -334,32 +334,38 @@ public static function dataTestConfigurationTree(): iterable
334
334
];
335
335
}
336
336
337
+ /**
338
+ * @return iterable<array{value: mixed}>
339
+ */
337
340
public static function dataTestSettingsDynamicCheckerInvalid (): iterable
338
341
{
339
342
yield 'string is not acceptable ' => [
340
- 'value ' => 'hello '
343
+ 'value ' => 'hello ' ,
341
344
];
342
345
yield 'int is not acceptable ' => [
343
- 'value ' => 1
346
+ 'value ' => 1 ,
344
347
];
345
348
yield 'bool is not acceptable ' => [
346
- 'value ' => true
349
+ 'value ' => true ,
347
350
];
348
351
}
349
352
353
+ /**
354
+ * @return iterable<array{value: mixed}>
355
+ */
350
356
public static function dataTestSettingsDynamicCheckerValid (): iterable
351
357
{
352
358
yield 'array is acceptable ' => [
353
- 'value ' => []
359
+ 'value ' => [],
354
360
];
355
361
yield 'array with arbitrary key is acceptable ' => [
356
362
'value ' => [
357
363
'key ' => 'value ' ,
358
364
'key2 ' => 'value2 ' ,
359
- ]
365
+ ],
360
366
];
361
367
yield 'null is acceptable ' => [
362
- 'value ' => null
368
+ 'value ' => null ,
363
369
];
364
370
}
365
371
You can’t perform that action at this time.
0 commit comments