From 1da8b61805ca791771ed944cd45ea0ab81a1f089 Mon Sep 17 00:00:00 2001 From: kremsy Date: Wed, 28 Jun 2017 12:45:20 +0200 Subject: [PATCH] default description for commands --- core/Commands/CommandManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Commands/CommandManager.php b/core/Commands/CommandManager.php index 9cb27c53..c41b4fea 100644 --- a/core/Commands/CommandManager.php +++ b/core/Commands/CommandManager.php @@ -65,7 +65,7 @@ class CommandManager implements CallbackListener, UsageInformationAble { * @param string $description * @return bool */ - public function registerCommandListener($commandName, CommandListener $listener, $method, $adminCommand = false, $description = null) { + public function registerCommandListener($commandName, CommandListener $listener, $method, $adminCommand = false, $description = "No Description.") { if (is_array($commandName)) { $success = false; foreach ($commandName as $command) {