mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-18 05:04:51 +08:00
adjust StaticManualFactory method visibility
This commit is contained in:
parent
eb05cea443
commit
2f94f5258d
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user