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

Commit

Permalink
fix compatibility with current nightly builds
Browse files Browse the repository at this point in the history
  • Loading branch information
fredemmott committed Nov 18, 2021
1 parent 6e598d9 commit d6893af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/core/Node.hack
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ abstract xhp class node implements \XHPChild {
}
}

final private function validateChildrenExpression(
private function validateChildrenExpression(
ReflectionXHPChildrenExpression $expr,
int $index,
): (bool, int) {
Expand Down Expand Up @@ -702,7 +702,7 @@ abstract xhp class node implements \XHPChild {
}
}

final private function validateChildrenRule(
private function validateChildrenRule(
ReflectionXHPChildrenExpression $expr,
int $index,
): (bool, int) {
Expand Down
2 changes: 1 addition & 1 deletion src/core/Primitive.hack
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ abstract xhp class primitive extends node {
return $result;
}

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

0 comments on commit d6893af

Please sign in to comment.