We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e626e50 commit 94ddd09Copy full SHA for 94ddd09
1 file changed
rules/Php81/NodeFactory/EnumFactory.php
@@ -40,8 +40,8 @@ public function createFromClass(Class_ $class): Enum_
40
: 'int';
41
42
// constant to cases
43
- foreach ($constants as $classConst) {
44
- $enum->stmts[] = $this->createEnumCaseFromConst($classConst);
+ foreach ($constants as $constant) {
+ $enum->stmts[] = $this->createEnumCaseFromConst($constant);
45
}
46
47
0 commit comments