Skip to content

Commit 41e355c

Browse files
committed
fix cs
1 parent 59e112d commit 41e355c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎rules/AnnotationsToAttributes/Rector/Class_/CoversAnnotationWithValueToAttributeRector.php‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,9 @@ private function resolveClassAttributes(Class_ $class): array
192192
$coversDefaultGroups = $this->handleCoversDefaultClass($phpDocInfo);
193193
// If there is a ::coversDefaultClass, @covers ::function will refer to class methods, otherwise it will refer to global functions.
194194
$hasCoversDefault = $coversDefaultGroups !== [];
195-
$coversDefaultClass = $hasCoversDefault ? $this->getName($coversDefaultGroups[0]->attrs[0]->args[0]->value) : null;
195+
$coversDefaultClass = $hasCoversDefault ? $this->getName(
196+
$coversDefaultGroups[0]->attrs[0]->args[0]->value
197+
) : null;
196198
$coversGroups = $this->handleCovers($phpDocInfo, $hasCoversDefault);
197199
}
198200

0 commit comments

Comments
 (0)