mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-23 16:45:35 +08:00
adjust StaticManualFactory method visibility
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user