Updated Rector to commit 0621d672f946aabc8bd6c9f70feae32d6a390b9f

0621d672f9  [Php80] Skip mixed doc with description and valid doc on MixedTypeRector  (#5906)
This commit is contained in:
Tomas Votruba 2024-05-21 09:36:37 +00:00
parent cee60661e8
commit 670c768551
2 changed files with 5 additions and 7 deletions

View File

@ -44,14 +44,12 @@ final class ParamTagRemover
if ($docNode->name !== '@param') {
return null;
}
$paramType = $phpDocInfo->getParamType($docNode->value->parameterName);
if ($type instanceof Type) {
if ($type->equals($paramType)) {
$hasChanged = \true;
return PhpDocNodeTraverser::NODE_REMOVE;
}
$paramType = $phpDocInfo->getParamType($docNode->value->parameterName);
if (!$type->equals($paramType)) {
return null;
}
}
if (!$this->deadParamTagValueNodeAnalyzer->isDead($docNode->value, $functionLike)) {
return null;
}

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = 'b8847be9d485ec1b3cde5ee5e099ab3626479eb7';
public const PACKAGE_VERSION = '0621d672f946aabc8bd6c9f70feae32d6a390b9f';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2024-05-20 20:32:55';
public const RELEASE_DATE = '2024-05-21 16:33:19';
/**
* @var int
*/