adjust StaticManualFactory method visibility

This commit is contained in:
sunxyw
2023-01-02 22:38:01 +08:00
parent eb05cea443
commit 2f94f5258d

View File

@@ -34,7 +34,7 @@ class StaticManualFactory
return $section; return $section;
} }
private function getSectionContent(BotCommand $command, string $type, CommandHelp $help): string protected function getSectionContent(BotCommand $command, string $type, CommandHelp $help): string
{ {
switch ($type) { switch ($type) {
case 'command': 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) { if (!$content) {
return; return;