adjust StaticManualFactory method visibility

This commit is contained in:
sunxyw 2023-01-02 22:38:01 +08:00
parent eb05cea443
commit 2f94f5258d
No known key found for this signature in database
GPG Key ID: F391C42B19AFFC98

View File

@ -34,7 +34,7 @@ class StaticManualFactory
return $section;
}
private function getSectionContent(BotCommand $command, string $type, CommandHelp $help): string
protected function getSectionContent(BotCommand $command, string $type, CommandHelp $help): string
{
switch ($type) {
case 'command':
@ -57,7 +57,7 @@ class StaticManualFactory
}
}
private function addSection(string &$section, string $content, array $options): void
protected function addSection(string &$section, string $content, array $options): void
{
if (!$content) {
return;