diff --git a/build/gen_stub.php b/build/gen_stub.php index 44b06b28575..19e60a16e06 100755 --- a/build/gen_stub.php +++ b/build/gen_stub.php @@ -1379,7 +1379,7 @@ class FuncInfo { return $this->name instanceof MethodName; } - public function isFinalMethod(): bool + private function isFinalMethod(): bool { return ($this->flags & Modifiers::FINAL) || ($this->classFlags & Modifiers::FINAL); } @@ -1390,7 +1390,7 @@ class FuncInfo { } /** @return string[] */ - public function getModifierNames(): array + private function getModifierNames(): array { if (!$this->isMethod()) { return []; @@ -1430,7 +1430,7 @@ class FuncInfo { return false; } - public function equalsApartFromNameAndRefcount(FuncInfo $other): bool { + private function equalsApartFromNameAndRefcount(FuncInfo $other): bool { if (count($this->args) !== count($other->args)) { return false; }