Skip to content

Commit de3f7d4

Browse files
committed
[TypeInfo] Fix resolving constructor type with templates
1 parent 9fdace4 commit de3f7d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Extractor/PhpStanExtractorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@ public static function constructorTypesProvider(): iterable
891891
yield ['ddd', null];
892892
}
893893

894-
#[DataProvider('constructorTypesOfParentClassProvider')
894+
#[DataProvider('constructorTypesOfParentClassProvider')]
895895
public function testExtractTypeFromConstructorOfParentClass(string $class, string $property, Type $type)
896896
{
897897
$this->assertEquals($type, $this->extractor->getTypeFromConstructor($class, $property));

0 commit comments

Comments
 (0)