Skip to content

Commit 49b06b1

Browse files
committed
[ci-review] Rector Rectify
1 parent e6198c0 commit 49b06b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rules/DeadCode/Rector/ClassMethod/RemoveEmptyClassMethodRector.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ private function shouldSkipClassMethod(Class_ $class, ClassMethod $classMethod):
170170
if (! $classReflection instanceof ClassReflection) {
171171
return false;
172172
}
173+
173174
// skip constructor in attributes as might be a marker parameter
174175
return $classReflection->isAttributeClass() && $classMethod->getDocComment() instanceof Doc;
175176
}

0 commit comments

Comments
 (0)