Skip to content

Commit 9005f25

Browse files
committed
[PropertyInfo] Fix generic enum test
1 parent 36bb990 commit 9005f25

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)