Skip to content

Commit 18a0d38

Browse files
committed
Camel case new variable
1 parent 5b188ec commit 18a0d38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Mf2/Parser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1506,7 +1506,7 @@ public function backcompat(DOMElement $el, $context = '', $isParentMf2 = false)
15061506
$mf1Classes = array_intersect($classes, array_keys($this->classicRootMap));
15071507
}
15081508

1509-
$el_has_mf2 = $this->hasRootMf2($el);
1509+
$elHasMf2 = $this->hasRootMf2($el);
15101510

15111511
foreach ($mf1Classes as $classname) {
15121512
// special handling for specific properties
@@ -1602,7 +1602,7 @@ public function backcompat(DOMElement $el, $context = '', $isParentMf2 = false)
16021602
}
16031603
}
16041604

1605-
if ( empty($context) && isset($this->classicRootMap[$classname]) && !$el_has_mf2 ) {
1605+
if ( empty($context) && isset($this->classicRootMap[$classname]) && !$elHasMf2 ) {
16061606
$this->addMfClasses($el, $this->classicRootMap[$classname]);
16071607
}
16081608
}

0 commit comments

Comments
 (0)