Skip to content

Commit 22936ae

Browse files
committed
[ci-review] Rector Rectify
1 parent 4babc6e commit 22936ae

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

rules/Php82/Rector/Class_/ReadOnlyClassRector.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,7 @@ private function shouldSkip(Class_ $class): bool
106106
return true;
107107
}
108108
}
109-
110109
// property promotion
111-
112-
if ($this->phpAttributeAnalyzer->hasPhpAttribute($class, self::ATTRIBUTE)) {
113-
return true;
114-
}
115-
116-
return false;
110+
return $this->phpAttributeAnalyzer->hasPhpAttribute($class, self::ATTRIBUTE);
117111
}
118112
}

0 commit comments

Comments
 (0)