Skip to content

Commit df7200d

Browse files
committed
[BCB] Remove GenericTypeVariableResolver
1 parent fd561e2 commit df7200d

File tree

2 files changed

+1
-52
lines changed

2 files changed

+1
-52
lines changed

UPGRADING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,3 +243,4 @@ Instead of `PHPStanTestCase::createBroker()`, call `PHPStanTestCase::createRefle
243243
* Remove `AnalysisResult::getInternalErrors()`, use `getInternalErrorObjects()` instead
244244
* Remove `ConstantReflection::getValue()`, use `getValueExpr()` instead. To get `Type` from `Expr`, use `Scope::getType()` or `InitializerExprTypeResolver::getType()`
245245
* Remove `PropertyTag::getType()`, use `getReadableType()` / `getWritableType()` instead
246+
* Remove `GenericTypeVariableResolver`, use [`Type::getTemplateType()`](https://apiref.phpstan.org/2.0.x/PHPStan.Type.Type.html#_getTemplateType) instead

src/Type/GenericTypeVariableResolver.php

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)