diff --git a/phpBB/language/en/acp/common.php b/phpBB/language/en/acp/common.php index a192ec396d..239b576738 100644 --- a/phpBB/language/en/acp/common.php +++ b/phpBB/language/en/acp/common.php @@ -223,7 +223,7 @@ $lang = array_merge($lang, array( 'BACK' => 'Back', - 'CLI_DESCRIPTION_CRON_LIST' => 'Print the cron list.', + 'CLI_DESCRIPTION_CRON_LIST' => 'Prints a list of ready and unready cron jobs.', 'CLI_DESCRIPTION_CRON_RUN' => 'Runs all ready cron tasks.', 'CLI_DESCRIPTION_CRON_RUN_ARGUMENT_1' => 'Name of the task to be run', diff --git a/phpBB/phpbb/console/command/cron/cron_list.php b/phpBB/phpbb/console/command/cron/cron_list.php index 9d9a3bdef7..1c32e6e306 100644 --- a/phpBB/phpbb/console/command/cron/cron_list.php +++ b/phpBB/phpbb/console/command/cron/cron_list.php @@ -80,7 +80,7 @@ class cron_list extends \phpbb\console\command\command } } - public function print_tasks_names($tasks, $output) + protected function print_tasks_names(array $tasks, OutputInterface $output) { foreach ($tasks as $task) {