From 2f94f5258df06921419ea935b9d5ab4c22d0f3b9 Mon Sep 17 00:00:00 2001 From: sunxyw Date: Mon, 2 Jan 2023 22:38:01 +0800 Subject: [PATCH] adjust StaticManualFactory method visibility --- src/ZM/Plugin/CommandManual/StaticManualFactory.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ZM/Plugin/CommandManual/StaticManualFactory.php b/src/ZM/Plugin/CommandManual/StaticManualFactory.php index 4440c083..7db0f5fd 100644 --- a/src/ZM/Plugin/CommandManual/StaticManualFactory.php +++ b/src/ZM/Plugin/CommandManual/StaticManualFactory.php @@ -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;