Skip to content

Commit e11f9cf

Browse files
committed
[rector] Rector fixes
1 parent 79bf991 commit e11f9cf

3 files changed

Lines changed: 0 additions & 3 deletions

File tree

rules/AnnotationsToAttributes/Rector/ClassMethod/TestWithAnnotationToAttributeRector.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ public function refactor(Node $node): ?Node
129129
// test from doc blocks
130130
$this->phpDocTagRemover->removeTagValueFromNode($phpDocInfo, $testWithPhpDocTagNode);
131131

132-
/** @var GenericTagValueNode $genericTagValueNode */
133132
$genericTagValueNode = $testWithPhpDocTagNode->value;
134133
$testWithItems = explode("\n", trim($genericTagValueNode->value));
135134

rules/CodeQuality/Rector/Class_/AddSeeTestAnnotationRector.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ private function shouldSkipClass(Class_ $class): bool
134134
continue;
135135
}
136136

137-
/** @var GenericTagValueNode $genericTagValueNode */
138137
$genericTagValueNode = $seePhpDocTagNode->value;
139138

140139
$seeTagClass = ltrim($genericTagValueNode->value, '\\');

rules/PHPUnit120/Rector/ClassMethod/ExpressionCreateMockToCreateStubRector.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ public function refactor(Node $node): ?ClassMethod
106106
continue;
107107
}
108108

109-
/** @var Assign $assign */
110109
$assign = $stmt->expr;
111110

112111
if (! $assign->var instanceof Variable) {

0 commit comments

Comments
 (0)