Updated Rector to commit 19aff25061aa1061e8241fdd44fa660a9bc9ccdc

19aff25061 [TypeDeclaration] Skip already typed param on AddClosureParamTypeForArrayReduceRector (#6737)
This commit is contained in:
Tomas Votruba 2025-02-15 12:51:27 +00:00
parent cfcd9ca506
commit bfc7de5464
2 changed files with 3 additions and 6 deletions

View File

@ -116,10 +116,7 @@ CODE_SAMPLE
}
// already set → no change
if ($param->type instanceof Node) {
$currentParamType = $this->staticTypeMapper->mapPhpParserNodePHPStanType($param->type);
if ($this->typeComparator->areTypesEqual($currentParamType, $type)) {
return \false;
}
return \false;
}
$paramTypeNode = $this->staticTypeMapper->mapPHPStanTypeToPhpParserNode($type, TypeKind::PARAM);
if (!$paramTypeNode instanceof Node) {

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '6137332476155f4a1350eba6d9869ae1b4a35795';
public const PACKAGE_VERSION = '19aff25061aa1061e8241fdd44fa660a9bc9ccdc';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2025-02-14 20:48:09';
public const RELEASE_DATE = '2025-02-15 19:48:46';
/**
* @var int
*/