Skip to content

Commit 94ddd09

Browse files
committed
[ci-review] Rector Rectify
1 parent e626e50 commit 94ddd09

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rules/Php81/NodeFactory/EnumFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ public function createFromClass(Class_ $class): Enum_
4040
: 'int';
4141

4242
// constant to cases
43-
foreach ($constants as $classConst) {
44-
$enum->stmts[] = $this->createEnumCaseFromConst($classConst);
43+
foreach ($constants as $constant) {
44+
$enum->stmts[] = $this->createEnumCaseFromConst($constant);
4545
}
4646
}
4747

0 commit comments

Comments
 (0)