8000 minor #59182 [PropertyInfo] Fix generic enum type extraction test (mt… · symfony/symfony@4316986 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4316986

Browse files
committed
minor #59182 [PropertyInfo] Fix generic enum type extraction test (mtarld)
This PR was merged into the 7.1 branch. Discussion ---------- [PropertyInfo] Fix generic enum type extraction test | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | | License | MIT Fix test about generic enum type extraction Commits ------- 9005f25 [PropertyInfo] Fix generic enum test
2 parents 36bb990 + 9005f25 commit 4316986

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpStanExtractorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ public static function allowPrivateAccessProvider(): array
10431043
public function testGenericInterface()
10441044
{
10451045
$this->assertEquals(
1046-
Type::generic(Type::object(\BackedEnum::class), Type::string()),
1046+
Type::generic(Type::enum(\BackedEnum::class), Type::string()),
10471047
$this->extractor->getType(Dummy::class, 'genericInterface'),
10481048
);
10491049
}

0 commit comments

Comments
 (0)
0