Skip to content

Commit 42bb08a

Browse files
committed
[BCB] Remove ConstantArrayType::findTypeAndMethodName()
1 parent 0cb8720 commit 42bb08a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

UPGRADING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ Instead of `PHPStanTestCase::createBroker()`, call `PHPStanTestCase::createRefle
251251
* Removed methods from `ConstantArrayType` - `getFirst*Type` and `getLast*Type`
252252
* Use `getFirstIterable*Type` and `getLastIterable*Type` instead
253253
* Remove `ConstantArrayType::generalizeToArray()`
254+
* Remove `ConstantArrayType::findTypeAndMethodName()`, use `findTypeAndMethodNames()` instead
254255
* Made `TypeUtils` thinner by removing methods:
255256
* Remove `TypeUtils::getArrays()` and `getAnyArrays()`, use [`Type::getArrays()`](https://apiref.phpstan.org/2.0.x/PHPStan.Type.Type.html#_getArrays) instead
256257
* Remove `TypeUtils::getConstantArrays()` and `getOldConstantArrays()`, use [`Type::getConstantArrays()`](https://apiref.phpstan.org/2.0.x/PHPStan.Type.Type.html#_getConstantArrays) instead

0 commit comments

Comments
 (0)