mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-07 11:50:51 +00:00
fix ctor (#5808)
This commit is contained in:
parent
dc5dfe228b
commit
79d3d98e14
|
@ -37,7 +37,7 @@
|
|||
"nette/utils": "^3.2",
|
||||
"nikic/php-parser": "^4.10.4",
|
||||
"phpstan/phpdoc-parser": "^0.4.9",
|
||||
"phpstan/phpstan": "^0.12.80",
|
||||
"phpstan/phpstan": "^0.12.81",
|
||||
"phpstan/phpstan-phpunit": "^0.12.17",
|
||||
"psr/simple-cache": "^1.0",
|
||||
"sebastian/diff": "^4.0.4",
|
||||
|
|
|
@ -13,6 +13,7 @@ use PHPStan\Type\Generic\TemplateTypeMap;
|
|||
use PHPStan\Type\Generic\TemplateTypeParameterStrategy;
|
||||
use PHPStan\Type\Generic\TemplateTypeScope;
|
||||
use PHPStan\Type\Generic\TemplateTypeVariance;
|
||||
use PHPStan\Type\ObjectType;
|
||||
use PHPStan\Type\TypeWithClassName;
|
||||
|
||||
final class ExtendsTemplateTypeMapFallbackFactory
|
||||
|
@ -101,7 +102,7 @@ final class ExtendsTemplateTypeMapFallbackFactory
|
|||
new TemplateTypeParameterStrategy(),
|
||||
TemplateTypeVariance::createInvariant(),
|
||||
$parentGenericTypeName,
|
||||
$typeWithClassName->getClassName()
|
||||
new ObjectType($typeWithClassName->getClassName())
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user