Skip to content

Commit fca0b4a

Browse files
committed
[ci-review] Rector Rectify
1 parent ebc0cac commit fca0b4a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rules/TypeDeclaration/Rector/Class_/TypedPropertyFromDocblockSetUpDefinedRector.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,12 @@ public function refactor(Node $node): ?Node
107107
if ($property->type instanceof Node) {
108108
continue;
109109
}
110+
110111
// some magic might be going on
111112
if ($property->isStatic()) {
112113
continue;
113114
}
115+
114116
if (! $property->isPrivate()) {
115117
continue;
116118
}

0 commit comments

Comments
 (0)