mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 21:38:22 +01:00
Updated Rector to commit 0621d672f946aabc8bd6c9f70feae32d6a390b9f
0621d672f9
[Php80] Skip mixed doc with description and valid doc on MixedTypeRector (#5906)
This commit is contained in:
parent
cee60661e8
commit
670c768551
@ -44,13 +44,11 @@ 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;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
if (!$this->deadParamTagValueNodeAnalyzer->isDead($docNode->value, $functionLike)) {
|
||||
return null;
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user