Skip to content

Commit 7da1c10

Browse files
committed
[ci-review] Rector Rectify
1 parent c410651 commit 7da1c10

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

rules/DowngradePhp81/Rector/Property/DowngradeReadonlyPropertyRector.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagNode;
1313
use Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory;
1414
use Rector\Comments\NodeDocBlock\DocBlockUpdater;
15-
use Rector\NodeTypeResolver\Node\AttributeKey;
1615
use Rector\Privatization\NodeManipulator\VisibilityManipulator;
1716
use Rector\Rector\AbstractRector;
1817
use Rector\ValueObject\MethodName;

rules/DowngradePhp85/Rector/Class_/DowngradeFinalPropertyPromotionRector.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,5 @@ private function addPhpDocTag(Property|Param $node): void
120120

121121
$phpDocInfo->addPhpDocTagNode(new PhpDocTagNode('@' . self::TAGNAME, new GenericTagValueNode('')));
122122
$this->docBlockUpdater->updateRefactoredNodeWithPhpDocInfo($node);
123-
return;
124123
}
125124
}

0 commit comments

Comments
 (0)