Skip to content
This repository was archived by the owner on Apr 1, 2024. It is now read-only.

Commit d6893af

Browse files
committed
fix compatibility with current nightly builds
1 parent 6e598d9 commit d6893af

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/core/Node.hack

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ abstract xhp class node implements \XHPChild {
631631
}
632632
}
633633

634-
final private function validateChildrenExpression(
634+
private function validateChildrenExpression(
635635
ReflectionXHPChildrenExpression $expr,
636636
int $index,
637637
): (bool, int) {
@@ -702,7 +702,7 @@ abstract xhp class node implements \XHPChild {
702702
}
703703
}
704704

705-
final private function validateChildrenRule(
705+
private function validateChildrenRule(
706706
ReflectionXHPChildrenExpression $expr,
707707
int $index,
708708
): (bool, int) {

src/core/Primitive.hack

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ abstract xhp class primitive extends node {
3636
return $result;
3737
}
3838

39-
final private async function __flushElementChildren(): Awaitable<void> {
39+
private async function __flushElementChildren(): Awaitable<void> {
4040
$children = $this->getChildren();
4141
$awaitables = dict[];
4242
foreach ($children as $idx => $child) {

0 commit comments

Comments
 (0)