Skip to content

Commit 39c5025

Browse files
committed
minor #61281 [OptionsResolver] make data provider static (xabbuh)
This PR was merged into the 7.4 branch. Discussion ---------- [OptionsResolver] make data provider static | Q | A | ------------- | --- | Branch? | 7.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- 9002c0e make data provider static
2 parents 8b62798 + 9002c0e commit 39c5025

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2068,7 +2068,7 @@ public function testDeeplyNestedUnionTypesException(string $type, $invalidValue,
20682068
$this->resolver->resolve(['option' => $invalidValue]);
20692069
}
20702070

2071-
public function provideValidDeeplyNestedUnionTypes(): array
2071+
public static function provideValidDeeplyNestedUnionTypes(): array
20722072
{
20732073
$resource = fopen('php://memory', 'r');
20742074
$object = new \stdClass();
@@ -2144,7 +2144,7 @@ public function provideValidDeeplyNestedUnionTypes(): array
21442144
];
21452145
}
21462146

2147-
public function provideInvalidDeeplyNestedUnionTypes(): array
2147+
public static function provideInvalidDeeplyNestedUnionTypes(): array
21482148
{
21492149
$resource = fopen('php://memory', 'r');
21502150
$object = new \stdClass();

0 commit comments

Comments
 (0)