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
334334 ];
335335 }
336336
337+ /**
338+ * @return iterable<array{value: mixed}>
339+ */
337340 public static function dataTestSettingsDynamicCheckerInvalid (): iterable
338341 {
339342 yield 'string is not acceptable ' => [
340- 'value ' => 'hello '
343+ 'value ' => 'hello ' ,
341344 ];
342345 yield 'int is not acceptable ' => [
343- 'value ' => 1
346+ 'value ' => 1 ,
344347 ];
345348 yield 'bool is not acceptable ' => [
346- 'value ' => true
349+ 'value ' => true ,
347350 ];
348351 }
349352
353+ /**
354+ * @return iterable<array{value: mixed}>
355+ */
350356 public static function dataTestSettingsDynamicCheckerValid (): iterable
351357 {
352358 yield 'array is acceptable ' => [
353- 'value ' => []
359+ 'value ' => [],
354360 ];
355361 yield 'array with arbitrary key is acceptable ' => [
356362 'value ' => [
357363 'key ' => 'value ' ,
358364 'key2 ' => 'value2 ' ,
359- ]
365+ ],
360366 ];
361367 yield 'null is acceptable ' => [
362- 'value ' => null
368+ 'value ' => null ,
363369 ];
364370 }
365371
You can’t perform that action at this time.
0 commit comments