1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 11:13:59 +02:00

[ticket/16955] Clean up installer classes for psalm

PHPBB3-16955
This commit is contained in:
Marc Alexander
2022-12-26 14:42:23 +01:00
parent d9c179f9ef
commit 40e8a737c3
22 changed files with 54 additions and 42 deletions

View File

@@ -188,11 +188,11 @@ class cli_iohandler extends iohandler_base
/**
* {@inheritdoc
*/
public function add_success_message($error_title, $error_description = false)
public function add_success_message($success_title, $success_description = false)
{
$this->io->newLine();
$message = $this->translate_message($error_title, $error_description);
$message = $this->translate_message($success_title, $success_description);
$message_string = $message['title'] . (!empty($message['description']) ? "\n" . $message['description'] : '');
$this->io->success($message_string);