diff --git a/src/core/Node.hack b/src/core/Node.hack index 379f9bfa..f717e8cd 100644 --- a/src/core/Node.hack +++ b/src/core/Node.hack @@ -631,7 +631,7 @@ abstract xhp class node implements \XHPChild { } } - final private function validateChildrenExpression( + private function validateChildrenExpression( ReflectionXHPChildrenExpression $expr, int $index, ): (bool, int) { @@ -702,7 +702,7 @@ abstract xhp class node implements \XHPChild { } } - final private function validateChildrenRule( + private function validateChildrenRule( ReflectionXHPChildrenExpression $expr, int $index, ): (bool, int) { diff --git a/src/core/Primitive.hack b/src/core/Primitive.hack index 820e83b6..f7e8d8b3 100644 --- a/src/core/Primitive.hack +++ b/src/core/Primitive.hack @@ -36,7 +36,7 @@ abstract xhp class primitive extends node { return $result; } - final private async function __flushElementChildren(): Awaitable { + private async function __flushElementChildren(): Awaitable { $children = $this->getChildren(); $awaitables = dict[]; foreach ($children as $idx => $child) {